IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Aug 18, 2004, 5:18:31 PM (22 years ago)
Author:
Paul Price
Message:

Updating from SDRS.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/archive/pslib/include/psMatrix.h

    r753 r1585  
    1515/* Linear Algebra */
    1616
     17/** LU Decomposition of a matrix */
     18psImage *
     19psMatrixLUD(psImage *out,               ///< Matrix to return, or NULL
     20            psVector *perm,             ///< Permutation vector
     21            const psImage *in)          ///< Matrix to decompose
     22;
     23
     24/** LU Solution.  Solves for and returns x in the equation Ax = b */
     25psVector *
     26psMatrixLUSolve(psVector *out,          ///< Vector to return, or NULL
     27                const psImage *LU,      ///< LU-decomposed matrix
     28                const psVector *RHS,    ///< right-hand-side of the equation
     29                const psVector *perm    ///< Permutation vector
     30;
     31
    1732/** Invert matrix.  Not using restrict, to allow inversion to be done in-place */
    1833psImage *
    1934psMatrixInvert(psImage *out,            ///< Matrix to return, or NULL
    2035               const psImage *myMatrix, ///< Matrix to be inverted
    21                float *restrict determinant) ///< Determinant to return, or NULL
     36               float *determinant)      ///< Determinant to return, or NULL
    2237;
    2338
    2439/** Matrix determinant */
    2540float
    26 psMatrixDeterminant(const psImage *restrict myMatrix) ///< Matrix to get determinant for
     41psMatrixDeterminant(const psImage *myMatrix) ///< Matrix to get determinant for
    2742;
    2843
     
    4055;
    4156
    42 /** LU Decomposition of a matrix */
    43 psImage *
    44 psMatrixLUD(psImage *out,               ///< Matrix to return, or NULL
    45             psImage *in)                ///< Matrix to decompose
    46 ;
    47 
    48 /** LU Solution.  Solves for and returns x in the equation Ax = b */
    49 psVector *
    50 psMatrixLUSolve(psVector *out,          ///< Vector to return, or NULL
    51                 const psImage *LU,      ///< LU-decomposed matrix
    52                 const psVector *RHS)    ///< right-hand-side of the equation
    53 ;
    54 
    5557/** Eigenvectors of a matrix */
    5658psVector *
     
    6567psVector *
    6668psMatrixToVector(psVector *out,         ///< Vector to return, or NULL
    67                  psImage *in)           ///< Matrix to convert
     69                 const psImage *in)     ///< Matrix to convert
    6870;
    6971
     
    7173psImage *
    7274psVectorToMatrix(psImage *out,          ///< Matrix to return, or NULL
    73                  psVector *in)          ///< Vector to convert
     75                 const psVector *in)    ///< Vector to convert
    7476;
    7577
Note: See TracChangeset for help on using the changeset viewer.