Changeset 1440 for trunk/psLib/src/dataManip/psMatrix.h
- Timestamp:
- Aug 9, 2004, 1:34:58 PM (22 years ago)
- File:
-
- 1 edited
-
trunk/psLib/src/dataManip/psMatrix.h (modified) (10 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/dataManip/psMatrix.h
r1426 r1440 22 22 * @author Ross Harman, MHPCC 23 23 * 24 * @version $Revision: 1. 8$ $Name: not supported by cvs2svn $25 * @date $Date: 2004-08-09 2 2:44:25$24 * @version $Revision: 1.9 $ $Name: not supported by cvs2svn $ 25 * @date $Date: 2004-08-09 23:34:57 $ 26 26 * 27 27 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 41 41 * the same. GSL indexes the top row as the zero row, not the bottom. 42 42 * 43 * @return psImage* : Pointer to LU decomposed psImage.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.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 48 ); 49 49 … … 55 55 * the top row as the zero row, not the bottom. 56 56 * 57 * @return psVector* : Pointer to psVector solution of matrix equation.57 * @return psVector* : Pointer to psVector solution of matrix equation. 58 58 */ 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 psMatrixLUD59 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 psMatrixLUD 63 63 // function. 64 64 ); … … 71 71 * the same. GSL indexes the top row as the zero row, not the bottom. 72 72 * 73 * @return psImage* : Pointer to inverted psImage.73 * @return psImage* : Pointer to inverted psImage. 74 74 */ 75 psImage *psMatrixInvert(psImage* outImage, ///< Image to return, or NULL for in-place substitution.76 const psImage * inImage, ///< Image to be inverted75 psImage* psMatrixInvert(psImage* outImage, ///< Image to return, or NULL for in-place substitution. 76 const psImage* inImage, ///< Image to be inverted 77 77 float *restrict det ///< Determinant to return, or NULL 78 78 ); … … 86 86 * @return float: Determinant from psImage. 87 87 */ 88 float *psMatrixDeterminant(const psImage * restrict inMatrix ///< Image used to calculate determinant.88 float *psMatrixDeterminant(const psImage* restrict inMatrix ///< Image used to calculate determinant. 89 89 ); 90 90 … … 96 96 * zero row, not the bottom. 97 97 * 98 * @return psImage* : Pointer to resulting psImage.98 * @return psImage* : Pointer to resulting psImage. 99 99 */ 100 psImage *psMatrixMultiply(psImage* outImage, ///< Matrix to return, or NULL.101 psImage * inImage1, ///< First input image.102 psImage * inImage2 ///< Second input image.100 psImage* psMatrixMultiply(psImage* outImage, ///< Matrix to return, or NULL. 101 psImage* inImage1, ///< First input image. 102 psImage* inImage2 ///< Second input image. 103 103 ); 104 104 … … 110 110 * row, not the bottom. 111 111 * 112 * @return psImage* : Pointer to transposed psImage.112 * @return psImage* : Pointer to transposed psImage. 113 113 */ 114 psImage *psMatrixTranspose(psImage* outImage, ///< Image to return, or NULL115 const psImage * inImage ///< Image to transpose114 psImage* psMatrixTranspose(psImage* outImage, ///< Image to return, or NULL 115 const psImage* inImage ///< Image to transpose 116 116 ); 117 117 … … 122 122 * only with the psF64 data type. GSL indexes the top row as the zero row, not the bottom. 123 123 * 124 * @return psImage* : Pointer to matrix of Eigenvectors.124 * @return psImage* : Pointer to matrix of Eigenvectors. 125 125 */ 126 psImage *psMatrixEigenvectors(psImage* outImage, ///< Eigenvectors to return, or NULL.127 psImage * inImage ///< Input image.126 psImage* psMatrixEigenvectors(psImage* outImage, ///< Eigenvectors to return, or NULL. 127 psImage* inImage ///< Input image. 128 128 ); 129 129 … … 135 135 * input matrix must be 1. This function operates only with the psF64 data type. 136 136 * 137 * @return psVector* : Pointer to psVector.137 * @return psVector* : Pointer to psVector. 138 138 */ 139 psVector *psMatrixToVector(psVector* outVector, ///< Vector to return, or NULL.140 psImage * inImage ///< Image to convert.139 psVector* psMatrixToVector(psVector* outVector, ///< Vector to return, or NULL. 140 psImage* inImage ///< Image to convert. 141 141 ); 142 142 … … 148 148 * automatically be created. This function operates only with the psF64 data type. 149 149 * 150 * @return psVector* : Pointer to psIamge.150 * @return psVector* : Pointer to psIamge. 151 151 */ 152 psImage *psVectorToMatrix(psImage* outImage, ///< Matrix to return, or NULL.153 psVector * inVector ///< Vector to convert.152 psImage* psVectorToMatrix(psImage* outImage, ///< Matrix to return, or NULL. 153 psVector* inVector ///< Vector to convert. 154 154 ); 155 155
Note:
See TracChangeset
for help on using the changeset viewer.
