IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jun 7, 2004, 3:58:03 PM (22 years ago)
Author:
harman
Message:

Added more unit tests

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/src/dataManip/psMatrix.h

    r807 r908  
    99 *      Matrix inversion
    1010 *      Calculate determinant
    11  *      Matrix addition
    12  *      Matrix subtraction
    1311 *      Matrix multiplication
    1412 *      Calculate Eigenvectors
     
    1715 *
    1816 *  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.
    2018 *
    2119 *  @author Ross Harman, MHPCC
    2220 *   
    23  *  @version $Revision: 1.4 $ $Name: not supported by cvs2svn $
    24  *  @date $Date: 2004-05-28 20:52:41 $
     21 *  @version $Revision: 1.5 $ $Name: not supported by cvs2svn $
     22 *  @date $Date: 2004-06-08 01:58:03 $
    2523 *
    2624 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    10098 *  @return  float: Determinant from psImage.
    10199 */
    102 float psMatrixDeterminant(
     100float* psMatrixDeterminant(
    103101    const psImage *restrict inMatrix    ///< Image used to calculate determinant.
    104102);
     
    149147 *
    150148 *  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.
    153152 *
    154153 *  @return  psVector*: Pointer to psVector.
     
    161160/** Convert vector to matrix.
    162161 *
    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. 
    165166 *
    166167 *  @return  psVector*: Pointer to psIamge.
Note: See TracChangeset for help on using the changeset viewer.