IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jun 13, 2006, 2:02:47 PM (20 years ago)
Author:
Paul Price
Message:

Changing long to int to match SDRS.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/src/math/psSparse.h

    r7380 r7550  
    2525    psVector *Si;                       // Si contains the i-index values of Aij
    2626    psVector *Sj;                       // Sj contains the j-index values of Aij
    27     long Nelem;                         // Number of elements
    28     long Nrows;                         // Number of rows
     27    int Nelem;                         // Number of elements
     28    int Nrows;                         // Number of rows
    2929}
    3030psSparse;
    3131
    3232// allocate a sparse matrix structure
    33 psSparse *psSparseAlloc(long Nrows, long Nelem);
     33psSparse *psSparseAlloc(int Nrows, int Nelem);
    3434
    3535// add a new matrix element
    3636// user should only add elements above the diagonal
    3737bool psSparseMatrixElement(psSparse *sparse, // Matrix to which to add
    38                            long i, long j, // Matrix indices at which to add
     38                           int i, int j, // Matrix indices at which to add
    3939                           float value  // Value to add
    4040                          );
     
    4242// define a new sparse matrix equation vector element
    4343void inline psSparseVectorElement(psSparse *sparse, // Matrix to which to add
    44                                   long i,      // Index to add
     44                                  int i,      // Index to add
    4545                                  float value  // Value to add
    4646                                 );
Note: See TracChangeset for help on using the changeset viewer.