#include <sundials/sundials_types.h>
Go to the source code of this file.
Classes | |
struct | _DlsMat |
Defines | |
#define | SUNDIALS_DENSE 1 |
#define | SUNDIALS_BAND 2 |
#define | DENSE_COL(A, j) ((A->cols)[j]) |
#define | DENSE_ELEM(A, i, j) ((A->cols)[j][i]) |
#define | BAND_COL(A, j) (((A->cols)[j])+(A->s_mu)) |
#define | BAND_COL_ELEM(col_j, i, j) (col_j[(i)-(j)]) |
#define | BAND_ELEM(A, i, j) ((A->cols)[j][(i)-(j)+(A->s_mu)]) |
Typedefs | |
typedef struct _DlsMat * | DlsMat |
Functions | |
SUNDIALS_EXPORT DlsMat | NewDenseMat (int M, int N) |
SUNDIALS_EXPORT DlsMat | NewBandMat (int N, int mu, int ml, int smu) |
SUNDIALS_EXPORT void | DestroyMat (DlsMat A) |
SUNDIALS_EXPORT int * | NewIntArray (int N) |
SUNDIALS_EXPORT realtype * | NewRealArray (int N) |
SUNDIALS_EXPORT void | DestroyArray (void *p) |
SUNDIALS_EXPORT void | PrintMat (DlsMat A) |
SUNDIALS_EXPORT realtype ** | newDenseMat (int m, int n) |
SUNDIALS_EXPORT realtype ** | newBandMat (int n, int smu, int ml) |
SUNDIALS_EXPORT void | destroyMat (realtype **a) |
SUNDIALS_EXPORT int * | newIntArray (int n) |
SUNDIALS_EXPORT realtype * | newRealArray (int m) |
SUNDIALS_EXPORT void | destroyArray (void *v) |
#define BAND_COL_ELEM | ( | col_j, | |||
i, | |||||
j | ) | (col_j[(i)-(j)]) |
#define SUNDIALS_BAND 2 |
#define SUNDIALS_DENSE 1 |
SUNDIALS_EXPORT void destroyArray | ( | void * | v | ) |
SUNDIALS_EXPORT void DestroyArray | ( | void * | p | ) |
SUNDIALS_EXPORT void destroyMat | ( | realtype ** | a | ) |
Referenced by main().
SUNDIALS_EXPORT void DestroyMat | ( | DlsMat | A | ) |
SUNDIALS_EXPORT realtype** newBandMat | ( | int | n, | |
int | smu, | |||
int | ml | |||
) |
SUNDIALS_EXPORT DlsMat NewBandMat | ( | int | N, | |
int | mu, | |||
int | ml, | |||
int | smu | |||
) |
SUNDIALS_EXPORT realtype** newDenseMat | ( | int | m, | |
int | n | |||
) |
Referenced by main().
SUNDIALS_EXPORT DlsMat NewDenseMat | ( | int | M, | |
int | N | |||
) |
SUNDIALS_EXPORT int* newIntArray | ( | int | n | ) |
SUNDIALS_EXPORT int* NewIntArray | ( | int | N | ) |
SUNDIALS_EXPORT realtype* newRealArray | ( | int | m | ) |
SUNDIALS_EXPORT realtype* NewRealArray | ( | int | N | ) |
SUNDIALS_EXPORT void PrintMat | ( | DlsMat | A | ) |