Changeset 239 for trunk/archive/pslib/include/psMatrix.h
- Timestamp:
- Mar 12, 2004, 6:03:48 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
r160 r239 25 25 /** Invert matrix. Not using restrict, to allow inversion to be done in-place */ 26 26 psMatrix * 27 ps InvertMatrix(psMatrix *out, //!< Matrix to return, or NULL27 psMatrixInvert(psMatrix *out, //!< Matrix to return, or NULL 28 28 const psMatrix *myMatrix, //!< Matrix to be inverted 29 29 float *restrict determinant //!< Determinant to return, or NULL … … 32 32 /** Matrix determinant */ 33 33 float 34 ps Determinant(const psMatrix *restrict myMatrix //!< Matrix to get determinant for35 );34 psMatrixDeterminant(const psMatrix *restrict myMatrix //!< Matrix to get determinant for 35 ); 36 36 37 /** Matrix Multiplication. Not using restrict, to allow matrix1 == matrix2, and to do multiplication 38 * in-place 39 */ 40 psMatrix 41 psMatrixMultiply(psMatrix *out, //!< Matrix to return, or NULL 42 const psMatrix *matrix1, //!< Matrix 1 43 const psMatrix *matrix2 //!< Matrix 2 44 ); 37 /** Matrix operations */ 38 psMatrix * 39 psMatrixOp(psMatrix *out, //!< Matrix to return, or NULL 40 const psMatrix *matrix1, //!< Matrix 1 41 const char *op, //!< Operation to perform 42 const psMatrix *matrix2 //!< Matrix 2 43 ); 44 45 /** Transpose Matrix */ 46 psMatrix * 47 psMatrixTranspose(psMatrix *out, //!< Matrix to return, or NULL 48 const psMatrix *myMatrix //!< Matrix to transpose 49 ); 50 51 /** Convert matrix to vector. Mainly for a 1-d matrix. */ 52 psVector * 53 psMatrixToVector(psMatrix *myMatrix //!< Matrix to convert 45 54 46 55 #endif
Note:
See TracChangeset
for help on using the changeset viewer.
