Changeset 908 for trunk/psLib/src/math/psMatrix.h
- Timestamp:
- Jun 7, 2004, 3:58:03 PM (22 years ago)
- File:
-
- 1 edited
-
trunk/psLib/src/math/psMatrix.h (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/math/psMatrix.h
r807 r908 9 9 * Matrix inversion 10 10 * Calculate determinant 11 * Matrix addition12 * Matrix subtraction13 11 * Matrix multiplication 14 12 * Calculate Eigenvectors … … 17 15 * 18 16 * These functions treat psImages as if they were matrices, therefore there is no psMatrix. These functions 19 * operate only with psF32 and psF64 data types.17 * operate only with the psF64 data type. 20 18 * 21 19 * @author Ross Harman, MHPCC 22 20 * 23 * @version $Revision: 1. 4$ $Name: not supported by cvs2svn $24 * @date $Date: 2004-0 5-28 20:52:41$21 * @version $Revision: 1.5 $ $Name: not supported by cvs2svn $ 22 * @date $Date: 2004-06-08 01:58:03 $ 25 23 * 26 24 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 100 98 * @return float: Determinant from psImage. 101 99 */ 102 float psMatrixDeterminant(100 float* psMatrixDeterminant( 103 101 const psImage *restrict inMatrix ///< Image used to calculate determinant. 104 102 ); … … 149 147 * 150 148 * Converts a 1-d psImage matrix into a vector. If the user specifies NULL as the outVector argument, then it 151 * will automatically be created. The input matrix must be a 1-d column matrix. This function operates only 152 * with the psF64 data type. 149 * will automatically be created based on the input image (PS_DIMEN_VECTOR for an input image with 1 col or 150 * PS_DIMENT_TRANSV for an input image with 1 row). Either the number of rows or the number of colums of the 151 * input matrix must be 1. This function operates only with the psF64 data type. 153 152 * 154 153 * @return psVector*: Pointer to psVector. … … 161 160 /** Convert vector to matrix. 162 161 * 163 * Converts a vector into a 1-d column psImage matrix. If the user specifies NULL as the outImage argument, 164 * then it will automatically be created. This function operates only with the psF64 data type. 162 * Converts a vector into a psImage matrix. If the dimensionality of the vector is PS_DIMEN_VECTOR, then the 163 * resulting psImage is a 1d column. If the dimensionality of the vector is PS_DIMEN_TRANSV, then the 164 * resulting psImage is a 1d row. If the user specifies NULL as the outImage argument, then it will 165 * automatically be created. This function operates only with the psF64 data type. 165 166 * 166 167 * @return psVector*: Pointer to psIamge.
Note:
See TracChangeset
for help on using the changeset viewer.
