Changeset 1585 for trunk/archive/pslib/include/psMatrix.h
- Timestamp:
- Aug 18, 2004, 5:18:31 PM (22 years ago)
- File:
-
- 1 edited
-
trunk/archive/pslib/include/psMatrix.h (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/archive/pslib/include/psMatrix.h
r753 r1585 15 15 /* Linear Algebra */ 16 16 17 /** LU Decomposition of a matrix */ 18 psImage * 19 psMatrixLUD(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 */ 25 psVector * 26 psMatrixLUSolve(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 17 32 /** Invert matrix. Not using restrict, to allow inversion to be done in-place */ 18 33 psImage * 19 34 psMatrixInvert(psImage *out, ///< Matrix to return, or NULL 20 35 const psImage *myMatrix, ///< Matrix to be inverted 21 float * restrict determinant)///< Determinant to return, or NULL36 float *determinant) ///< Determinant to return, or NULL 22 37 ; 23 38 24 39 /** Matrix determinant */ 25 40 float 26 psMatrixDeterminant(const psImage * restrictmyMatrix) ///< Matrix to get determinant for41 psMatrixDeterminant(const psImage *myMatrix) ///< Matrix to get determinant for 27 42 ; 28 43 … … 40 55 ; 41 56 42 /** LU Decomposition of a matrix */43 psImage *44 psMatrixLUD(psImage *out, ///< Matrix to return, or NULL45 psImage *in) ///< Matrix to decompose46 ;47 48 /** LU Solution. Solves for and returns x in the equation Ax = b */49 psVector *50 psMatrixLUSolve(psVector *out, ///< Vector to return, or NULL51 const psImage *LU, ///< LU-decomposed matrix52 const psVector *RHS) ///< right-hand-side of the equation53 ;54 55 57 /** Eigenvectors of a matrix */ 56 58 psVector * … … 65 67 psVector * 66 68 psMatrixToVector(psVector *out, ///< Vector to return, or NULL 67 psImage *in)///< Matrix to convert69 const psImage *in) ///< Matrix to convert 68 70 ; 69 71 … … 71 73 psImage * 72 74 psVectorToMatrix(psImage *out, ///< Matrix to return, or NULL 73 psVector *in)///< Vector to convert75 const psVector *in) ///< Vector to convert 74 76 ; 75 77
Note:
See TracChangeset
for help on using the changeset viewer.
