IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
May 13, 2004, 3:21:30 PM (22 years ago)
Author:
eugene
Message:

adjusted the type names to the form psS8, psF32, etc

File:
1 edited

Legend:

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

    r671 r680  
    1313    const int nalloc;                   ///< data region relative to parent
    1414    union {
    15         float *arr;                     ///< Pointers to floating-point data (default)
    16         short int *arr_si;              ///< Pointers to short-integer data
    17         int *arr_i;                     ///< Pointers to integer data
    18         long int *arr_li;               ///< Pointers to long-integer data
    19         unsigned short int *arr_usi;    ///< Pointers to unsigned-short-integer data
    20         unsigned int *arr_ui;           ///< Pointers to unsigned-integer data
    21         unsigned long int *arr_uli;     ///< Pointers to unsigned-long-integer data
    22         float *arr_f;                   ///< Pointers to floating-point data
    23         double *arr_d;                  ///< Pointers to double-precision data
    24         complex float *arr_complex;     ///< Pointers to complex floating-point data
     15        psF32 *arr;                     ///< Pointers to floating-point data (default)
     16        psS8  *arr_S8;                  ///< Pointers to short-integer data
     17        psS16 *arr_S16;                 ///< Pointers to short-integer data
     18        psS32 *arr_S32;                 ///< Pointers to integer data
     19        psS64 *arr_S64;                 ///< Pointers to long-integer data
     20        psU8  *arr_U18;                 ///< Pointers to unsigned-short-integer data
     21        psU16 *arr_U16;                 ///< Pointers to unsigned-short-integer data
     22        psU32 *arr_U32;                 ///< Pointers to unsigned-integer data
     23        psU64 *arr_U64;                 ///< Pointers to unsigned-long-integer data
     24        psF32 *arr_F32;                 ///< Pointers to floating-point data
     25        psF64 *arr_F64;                 ///< Pointers to double-precision data
     26        psF32 *arr_C32;                 ///< Pointers to complex floating-point data
    2527        void **arr_v;
    2628    } arr;
     
    3739psVector *
    3840psVectorAlloc (int nalloc,              ///< vector length
    39                psElemType type          ///< vector data type
    40     );
     41               psElemType type)         ///< vector data type
     42;
    4143
    4244/// Extend a vector
    4345psVector *
    44 psVectorRealloc (int nalloc,            ///< vector length
    45                  psElemType type        ///< vector data type
    46     );
     46psVectorRealloc (const psVector *vector, ///< vector to reallocate
     47                 int nalloc)            ///< required length
     48;
    4749
    4850/// Create a subvector of the specified range.
     
    5052psVectorSubset(const psVector *vector,  ///< parent vector
    5153               int start,               ///< subvector range start
    52                int end                  ///< subvector range end
    53     );
     54               int end)                 ///< subvector range end
     55;
    5456
    5557/// Destroy the specified vector
Note: See TracChangeset for help on using the changeset viewer.