00001 #ifndef MATRIX_TRIPLET_TO_COL_H
00002 #define MATRIX_TRIPLET_TO_COL_H
00003
00004 #ifdef __cplusplus
00005 extern "C" {
00006 #endif
00007
00008 #include <R_ext/RS.h>
00009 #include <R.h>
00010
00011 #ifdef ENABLE_NLS
00012 #include <libintl.h>
00013 #define _(String) dgettext ("Matrix", String)
00014 #else
00015 #define _(String) (String)
00016 #endif
00017
00018 void triplet_to_col(int n_row, int n_col, int nz,
00019 const int Ti[], const int Tj[], const double Tx[],
00020 int Ap[], int Ai[], double Ax[]);
00021
00022
00023 #ifdef __cplusplus
00024 }
00025 #endif
00026
00027 #endif