Changeset 10001 for trunk/psLib/src/math/psSparse.h
- Timestamp:
- Nov 14, 2006, 6:09:23 PM (19 years ago)
- File:
-
- 1 edited
-
trunk/psLib/src/math/psSparse.h (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/math/psSparse.h
r9991 r10001 71 71 typedef struct 72 72 { 73 psImage *Bij; // Aij contains the populated elements of the matrix 74 psImage *Qii; // Bfj contains the elements of the vector Bf 75 int Nelem; // Number of elements (long dimension of Bij, 0-j) 76 int Nrows; // Number of rows (size of Qii) 73 psSparse *sparse; // corresponding sparse matrix equation 74 psImage *Bij; // Aij contains the populated elements of the matrix 75 psImage *Qii; // Bfj contains the elements of the vector Bf 76 psVector *Yi; // lower independent var 77 psVector *Gi; // lower dependent var 78 int Nrows; // Number of rows (long dimension of Bij, 0-j) 79 int Nborder; // Number of border elements (size of Qii) 77 80 } 78 81 psSparseBorder; … … 80 83 81 84 // allocate a sparse matrix structure 82 psSparse *psSparseBorderAlloc(int Nrows, int Nelem);85 psSparseBorder *psSparseBorderAlloc(psSparse *sparse, int Nborder); 83 86 84 87 // add a new matrix element
Note:
See TracChangeset
for help on using the changeset viewer.
