tensor

PURPOSE ^

Header source

SYNOPSIS ^

Header source

DESCRIPTION ^

Header source

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 
0002 /* typedef long double DOUBLE; comment� par YP 18/04/2007*/
0003 
0004 typedef double DOUBLE;
0005 typedef int INT;
0006 struct Tensor {
0007 int ndims;
0008 int * sizedim;
0009 int  size;
0010 DOUBLE * vals;
0011 };
0012 
0013 struct SparseMatrix{
0014 int m; /*nb of rows*/
0015 int n; /*nb of columns*/
0016 int nnz; /*nb of non zeros elements*/
0017 int *jc; /**/
0018 int *ir; /* row indices of non zeros*/
0019 DOUBLE *vals; /*actual values*/
0020 };
0021 
0022 struct IntTensor {
0023 int ndims;
0024 int * sizedim;
0025 int  size;
0026 INT * vals;
0027 };

Community support and wiki are available on Redmine. Last update: 18-Apr-2019.