Changeset 753 for trunk/archive/pslib/include/psMatrix.h
- Timestamp:
- May 20, 2004, 6:12:37 PM (22 years ago)
- File:
-
- 1 edited
-
trunk/archive/pslib/include/psMatrix.h (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/archive/pslib/include/psMatrix.h
r610 r753 19 19 psMatrixInvert(psImage *out, ///< Matrix to return, or NULL 20 20 const psImage *myMatrix, ///< Matrix to be inverted 21 float *restrict determinant ///< Determinant to return, or NULL22 );21 float *restrict determinant) ///< Determinant to return, or NULL 22 ; 23 23 24 24 /** Matrix determinant */ 25 25 float 26 psMatrixDeterminant(const psImage *restrict myMatrix ///< Matrix to get determinant for27 );26 psMatrixDeterminant(const psImage *restrict myMatrix) ///< Matrix to get determinant for 27 ; 28 28 29 29 /** Matrix operation: addition, subtraction, multiplication */ 30 30 psImage * 31 psMatrixOp(psImage *out, ///< Matrix to return, or NULL 32 const psImage *matrix1, ///< Matrix 1 33 const char *op, ///< Operation to perform: "+", "-", "*" 34 const psImage *matrix2 ///< Matrix 2 35 ); 31 psMatrixMultiply(psImage *out, ///< Matrix to return, or NULL 32 const psImage *in1, ///< Matrix 1 33 const psImage *in2) ///< Matrix 2 34 ; 36 35 37 36 /** Transpose Matrix */ 38 37 psImage * 39 38 psMatrixTranspose(psImage *out, ///< Matrix to return, or NULL 40 const psImage * myMatrix///< Matrix to transpose41 );39 const psImage *in) ///< Matrix to transpose 40 ; 42 41 43 42 /** LU Decomposition of a matrix */ 44 43 psImage * 45 44 psMatrixLUD(psImage *out, ///< Matrix to return, or NULL 46 psImage * myMatrix///< Matrix to decompose47 );45 psImage *in) ///< Matrix to decompose 46 ; 48 47 49 48 /** LU Solution. Solves for and returns x in the equation Ax = b */ 50 49 psVector * 51 50 psMatrixLUSolve(psVector *out, ///< Vector to return, or NULL 52 const psImage * luMatrix,///< LU-decomposed matrix53 const psVector * rhsVector///< right-hand-side of the equation54 ); 51 const psImage *LU, ///< LU-decomposed matrix 52 const psVector *RHS) ///< right-hand-side of the equation 53 ; 55 54 56 55 /** Eigenvectors of a matrix */ 57 56 psVector * 58 psMatrixEigenvectors(psImage *myMatrix ///< Matrix to get eigenvectors for59 );57 psMatrixEigenvectors(psImage *myMatrix) ///< Matrix to get eigenvectors for 58 ; 60 59 61 60 /***********************************************************************************************************/ … … 66 65 psVector * 67 66 psMatrixToVector(psVector *out, ///< Vector to return, or NULL 68 psImage * myMatrix///< Matrix to convert69 );67 psImage *in) ///< Matrix to convert 68 ; 70 69 71 70 /** Convert vector to matrix. */ 72 71 psImage * 73 72 psVectorToMatrix(psImage *out, ///< Matrix to return, or NULL 74 psVector * myVector///< Vector to convert75 );73 psVector *in) ///< Vector to convert 74 ; 76 75 77 76 /* \} */ // End of MathGroup Functions
Note:
See TracChangeset
for help on using the changeset viewer.
