Changeset 24084 for trunk/psLib/src/math/psMatrix.h
- Timestamp:
- May 6, 2009, 2:18:37 PM (17 years ago)
- File:
-
- 1 edited
-
trunk/psLib/src/math/psMatrix.h (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/math/psMatrix.h
r15820 r24084 39 39 * @return psImage* : Pointer to LU decomposed psImage. 40 40 */ 41 psImage * psMatrixLUD(41 psImage *psMatrixLUDecomposition( 42 42 psImage* out, ///< Image to return, or NULL. 43 43 psVector** perm, ///< Output permutation vector used by psMatrixLUSolve. … … 54 54 * @return psVector* : Pointer to psVector solution of matrix equation. 55 55 */ 56 psVector * psMatrixLUSolve(56 psVector *psMatrixLUSolution( 57 57 psVector* out, ///< Vector to return, or NULL. 58 58 const psImage* LU, ///< LU-decomposed matrix. … … 61 61 ); 62 62 63 /** Used to be a Gauss-Jordan numerical solver, but now uses LU decomposition. 63 /** LU Decomposition-based Matrix inversion 64 * 65 * @return psImage * : Pointer to psImage inverse of matrix 66 */ 67 psImage *psMatrixLUInvert( 68 psImage *out, ///< place result here if not NULL 69 const psImage* LU, ///< LU-decomposed matrix. 70 const psVector* perm ///< Permutation vector resulting from psMatrixLUD function. 71 ); 72 73 /** LU Decomposition-based solver for Ax = B. 74 * 75 * @return bool: True if successful. 76 */ 77 bool psMatrixLUSolve( 78 psImage *A, ///< Matrix to be solved 79 psVector *b ///< Vector of values 80 ); 81 82 /** Gauss-Jordan-based solver for Ax = B. 64 83 * 65 84 * @return bool: True if successful. … … 69 88 psVector *b ///< Vector of values 70 89 ); 71 72 /** Gauss-Jordan numerical solver for F32 input data */73 #define psMatrixGJSolveF32(A,B) psMatrixGJSolve(A,B)74 75 90 76 91 /** Invert psImage matrix.
Note:
See TracChangeset
for help on using the changeset viewer.
