IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 339


Ignore:
Timestamp:
Mar 31, 2004, 4:41:10 PM (22 years ago)
Author:
Paul Price
Message:

Added vector transpose function.

File:
1 edited

Legend:

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

    r257 r339  
    77 */
    88
    9 /** Types of the elements of vectors, matrices, etc. */
     9/** Types of the elements of vectors, images, etc. */
    1010typedef enum {
    1111    PS_TYPE_CHAR,                       ///< Character
     
    2828    PS_DIMEN_VECTOR,                    ///< A vector
    2929    PS_DIMEN_TRANSV,                    ///< A transposed vector
    30     PS_DIMEN_MATRIX,                    ///< A matrix
     30    PS_DIMEN_IMAGE,                     ///< An image
    3131    PS_DIMEN_OTHER                      ///< Something else that's not supported for arithmetic
    3232} psDimen;
     
    9999#define psVectorFree(A) psFloatArrayFree(A) ///< Destructor
    100100
     101/** Transpose a vector.  Changes the type to a PS_DIMEN_TRANSV */
     102psVector *psVectorTranspose(psVector *out, //!< Output vector, or NULL
     103                            psVector *myVector //!< Vector to be transposed
     104    );
     105
    101106/************************************************************************************************************/
    102107
Note: See TracChangeset for help on using the changeset viewer.