IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Mar 9, 2004, 12:28:16 PM (22 years ago)
Author:
Paul Price
Message:

Doxygen-ated the source files.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/archive/pslib/include/psMatrix.h

    r149 r153  
    22#define PS_MATRIX_H
    33
    4 /* A matrix */
     4/** A matrix */
    55typedef struct {
    6     int xSize, ySize;                   // Dimensions in x and y
    7     float *restrict *restrict value;    // Values in matrix
     6    int xSize, ySize;                   //!< Dimensions in x and y
     7    float *restrict *restrict value;    //!< Values in matrix
    88} psMatrix;
    99
    10 /* Constructor */
     10/** Constructor */
    1111psMatrix *
    12 psMatrixNew(int Xdimen,                 // x dimension of new matrix
    13             int Ydimen                  // y dimension of new matrix
     12psMatrixNew(int Xdimen,                 //!< x dimension of new matrix
     13            int Ydimen                  //!< y dimension of new matrix
    1414            );
    1515
    16 /* Destructor */
     16/** Destructor */
    1717void
    18 psMatrixDel(psMatrix *restrict myMatrix // Matrix to destroy
     18psMatrixDel(psMatrix *restrict myMatrix //!< Matrix to destroy
    1919            );
    2020
     
    2323/* Linear Algebra */
    2424
    25 /* Invert matrix */
    26 /* Not using restrict, to allow inversion to be done in-place */
     25/** Invert matrix.  Not using restrict, to allow inversion to be done in-place */
    2726psMatrix *
    28 psInvertMatrix(psMatrix *out,           // Matrix to return, or NULL
    29                const psMatrix *myMatrix, // Matrix to be inverted
    30                float *restrict determinant // Determinant to return, or NULL
     27psInvertMatrix(psMatrix *out,           //!< Matrix to return, or NULL
     28               const psMatrix *myMatrix, //!< Matrix to be inverted
     29               float *restrict determinant //!< Determinant to return, or NULL
    3130               );
    3231
    33 /* Matrix determinant */
     32/** Matrix determinant */
    3433float
    35 psDeterminant(const psMatrix *restrict myMatrix // Matrix to get determinant for
     34psDeterminant(const psMatrix *restrict myMatrix //!< Matrix to get determinant for
    3635              );
    3736
    38 /* Matrix Multiplication */
    39 /* Not using restrict, to allow matrix1 == matrix2, and to do multiplication in-place */
     37/** Matrix Multiplication.  Not using restrict, to allow matrix1 == matrix2, and to do multiplication
     38 * in-place
     39 */
    4040psMatrix
    41 psMatrixMultiply(psMatrix *out,         // Matrix to return, or NULL
    42                  const psMatrix *matrix1, // Matrix 1
    43                  const psMatrix *matrix2 // Matrix 2
     41psMatrixMultiply(psMatrix *out,         //!< Matrix to return, or NULL
     42                 const psMatrix *matrix1, //!< Matrix 1
     43                 const psMatrix *matrix2 //!< Matrix 2
    4444                 );
    4545
Note: See TracChangeset for help on using the changeset viewer.