Changeset 1464 for trunk/psLib/src/math/psMatrix.h
- Timestamp:
- Aug 10, 2004, 4:37:55 PM (22 years ago)
- File:
-
- 1 edited
-
trunk/psLib/src/math/psMatrix.h (modified) (10 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/math/psMatrix.h
r1441 r1464 22 22 * @author Ross Harman, MHPCC 23 23 * 24 * @version $Revision: 1.1 0$ $Name: not supported by cvs2svn $25 * @date $Date: 2004-08- 09 23:40:55$24 * @version $Revision: 1.11 $ $Name: not supported by cvs2svn $ 25 * @date $Date: 2004-08-11 02:35:58 $ 26 26 * 27 27 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 43 43 * @return psImage* : Pointer to LU decomposed psImage. 44 44 */ 45 psImage* psMatrixLUD(psImage* outImage, ///< Image to return, or NULL. 46 psVector* outPerm, ///< Output permutation vector used by psMatrixLUSolve. 47 psImage* inImage ///< Image to decompose. 48 ); 45 psImage* psMatrixLUD( 46 psImage* outImage, ///< Image to return, or NULL. 47 psVector* outPerm, ///< Output permutation vector used by psMatrixLUSolve. 48 psImage* inImage ///< Image to decompose. 49 ); 49 50 50 51 /** LU Solution of psImage matrix. … … 57 58 * @return psVector* : Pointer to psVector solution of matrix equation. 58 59 */ 59 psVector* psMatrixLUSolve( psVector* outVector, ///< Vector to return, or NULL.60 const psImage* luImage, ///< LU-decomposed matrix.61 const psVector* inVector, ///< Vector right-hand-side of equation.62 const psVector* inPerm ///< Permutation vector resulting from psMatrixLUD63 //function.64 );60 psVector* psMatrixLUSolve( 61 psVector* outVector, ///< Vector to return, or NULL. 62 const psImage* luImage, ///< LU-decomposed matrix. 63 const psVector* inVector, ///< Vector right-hand-side of equation. 64 const psVector* inPerm ///< Permutation vector resulting from psMatrixLUD function. 65 ); 65 66 66 67 /** Invert psImage matrix. … … 73 74 * @return psImage* : Pointer to inverted psImage. 74 75 */ 75 psImage* psMatrixInvert(psImage* outImage, ///< Image to return, or NULL for in-place substitution. 76 const psImage* inImage, ///< Image to be inverted 77 float *restrict det ///< Determinant to return, or NULL 78 ); 76 psImage* psMatrixInvert( 77 psImage* outImage, ///< Image to return, or NULL for in-place substitution. 78 const psImage* inImage, ///< Image to be inverted 79 float *restrict det ///< Determinant to return, or NULL 80 ); 79 81 80 82 /** Calculate psImage matrix determinant. … … 86 88 * @return float: Determinant from psImage. 87 89 */ 88 float *psMatrixDeterminant(const psImage* restrict inMatrix ///< Image used to calculate determinant. 89 ); 90 float *psMatrixDeterminant( 91 const psImage* restrict inMatrix ///< Image used to calculate determinant. 92 ); 90 93 91 94 /** Performs psImage matrix multiplication. … … 98 101 * @return psImage* : Pointer to resulting psImage. 99 102 */ 100 psImage* psMatrixMultiply(psImage* outImage, ///< Matrix to return, or NULL. 101 psImage* inImage1, ///< First input image. 102 psImage* inImage2 ///< Second input image. 103 ); 103 psImage* psMatrixMultiply( 104 psImage* outImage, ///< Matrix to return, or NULL. 105 psImage* inImage1, ///< First input image. 106 psImage* inImage2 ///< Second input image. 107 ); 104 108 105 109 /** Transpose matrix. … … 112 116 * @return psImage* : Pointer to transposed psImage. 113 117 */ 114 psImage* psMatrixTranspose(psImage* outImage, ///< Image to return, or NULL 115 const psImage* inImage ///< Image to transpose 116 ); 118 psImage* psMatrixTranspose( 119 psImage* outImage, ///< Image to return, or NULL 120 const psImage* inImage ///< Image to transpose 121 ); 117 122 118 123 /** Calculate matrix eigenvectors. … … 124 129 * @return psImage* : Pointer to matrix of Eigenvectors. 125 130 */ 126 psImage* psMatrixEigenvectors(psImage* outImage, ///< Eigenvectors to return, or NULL. 127 psImage* inImage ///< Input image. 128 ); 131 psImage* psMatrixEigenvectors( 132 psImage* outImage, ///< Eigenvectors to return, or NULL. 133 psImage* inImage ///< Input image. 134 ); 129 135 130 136 /** Convert matrix to vector. … … 137 143 * @return psVector* : Pointer to psVector. 138 144 */ 139 psVector* psMatrixToVector(psVector* outVector, ///< Vector to return, or NULL. 140 psImage* inImage ///< Image to convert. 141 ); 145 psVector* psMatrixToVector( 146 psVector* outVector, ///< Vector to return, or NULL. 147 psImage* inImage ///< Image to convert. 148 ); 142 149 143 150 /** Convert vector to matrix. … … 150 157 * @return psVector* : Pointer to psIamge. 151 158 */ 152 psImage* psVectorToMatrix(psImage* outImage, ///< Matrix to return, or NULL. 153 psVector* inVector ///< Vector to convert. 154 ); 159 psImage* psVectorToMatrix( 160 psImage* outImage, ///< Matrix to return, or NULL. 161 psVector* inVector ///< Vector to convert. 162 ); 155 163 156 164 /// @}
Note:
See TracChangeset
for help on using the changeset viewer.
