IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Oct 26, 2004, 2:57:34 PM (22 years ago)
Author:
desonia
Message:

converted native C types to ps Types, where practical.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/src/dataManip/psMatrix.c

    r2021 r2204  
    2020 *  @author Ross Harman, MHPCC
    2121 *   
    22  *  @version $Revision: 1.15 $ $Name: not supported by cvs2svn $
    23  *  @date $Date: 2004-10-08 02:48:01 $
     22 *  @version $Revision: 1.16 $ $Name: not supported by cvs2svn $
     23 *  @date $Date: 2004-10-27 00:57:31 $
    2424 *
    2525 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    119119psImage* psMatrixLUD(psImage* outImage, psVector* outPerm, psImage* inImage)
    120120{
    121     int signum = 0;
    122     int arraySize = 0;
    123     int numRows = 0;
    124     int numCols = 0;
     121    psS32 signum = 0;
     122    psS32 arraySize = 0;
     123    psS32 numRows = 0;
     124    psS32 numCols = 0;
    125125    gsl_matrix lu;
    126126    gsl_permutation perm;
     
    165165                          const psVector* inVector, const psVector* inPerm)
    166166{
    167     int arraySize = 0;
    168     int numRows = 0;
    169     int numCols = 0;
     167    psS32 arraySize = 0;
     168    psS32 numRows = 0;
     169    psS32 numCols = 0;
    170170    gsl_matrix lu;
    171171    gsl_permutation perm;
     
    217217psImage* psMatrixInvert(psImage* outImage, const psImage* inImage, float *restrict det)
    218218{
    219     int signum = 0;
    220     int arraySize = 0;
    221     int numRows = 0;
    222     int numCols = 0;
     219    psS32 signum = 0;
     220    psS32 arraySize = 0;
     221    psS32 numRows = 0;
     222    psS32 numCols = 0;
    223223    gsl_matrix inv;
    224224    gsl_matrix *lu;
     
    271271float *psMatrixDeterminant(const psImage* restrict inImage)
    272272{
    273     int signum = 0;
    274     int arraySize = 0;
    275     int numRows = 0;
    276     int numCols = 0;
     273    psS32 signum = 0;
     274    psS32 arraySize = 0;
     275    psS32 numRows = 0;
     276    psS32 numCols = 0;
    277277    float *det = NULL;
    278278    gsl_matrix *lu = NULL;
     
    313313psImage* psMatrixMultiply(psImage* outImage, psImage* inImage1, psImage* inImage2)
    314314{
    315     int arraySize = 0;
    316     int numRows = 0;
    317     int numCols = 0;
     315    psS32 arraySize = 0;
     316    psS32 numRows = 0;
     317    psS32 numCols = 0;
    318318    gsl_matrix m1;
    319319    gsl_matrix m2;
     
    355355psImage* psMatrixTranspose(psImage* outImage, const psImage* inImage)
    356356{
    357     int arraySize = 0;
    358     int numRows = 0;
    359     int numCols = 0;
     357    psS32 arraySize = 0;
     358    psS32 numRows = 0;
     359    psS32 numCols = 0;
    360360    gsl_matrix trans;
    361361
     
    392392psImage* psMatrixEigenvectors(psImage* outImage, psImage* inImage)
    393393{
    394     int numRows = 0;
    395     int numCols = 0;
     394    psS32 numRows = 0;
     395    psS32 numCols = 0;
    396396    gsl_vector *eVals = NULL;
    397397    gsl_eigen_symmv_workspace *w = NULL;
     
    436436psVector* psMatrixToVector(psVector* outVector, const psImage* inImage)
    437437{
    438     int size = 0;
     438    psS32 size = 0;
    439439
    440440    // Error checks
     
    495495psImage* psVectorToMatrix(psImage* outImage, const psVector* inVector)
    496496{
    497     int size = 0;
     497    psS32 size = 0;
    498498
    499499    // Error checks
Note: See TracChangeset for help on using the changeset viewer.