IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 1575


Ignore:
Timestamp:
Aug 18, 2004, 3:45:00 PM (22 years ago)
Author:
Paul Price
Message:

Removing subset, transpose and destructor.

File:
1 edited

Legend:

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

    r753 r1575  
    1313    const int nalloc;                   ///< allocated data block
    1414    union {
    15         psS8  *S8;                      ///< Pointers to short-integer data
    16         psS16 *S16;                     ///< Pointers to short-integer data
    17         psS32 *S32;                     ///< Pointers to integer data
    18         psS64 *S64;                     ///< Pointers to long-integer data
    19         psU8  *U18;                     ///< Pointers to unsigned-short-integer data
    20         psU16 *U16;                     ///< Pointers to unsigned-short-integer data
    21         psU32 *U32;                     ///< Pointers to unsigned-integer data
    22         psU64 *U64;                     ///< Pointers to unsigned-long-integer data
    23         psF32 *F32;                     ///< Pointers to floating-point data
    24         psF64 *F64;                     ///< Pointers to double-precision data
    25         psF32 *C32;                     ///< Pointers to complex floating-point data
    26         void **V;
     15        psS8  *S8;                      ///< Pointers to byte data
     16        psS16 *S16;                     ///< Pointers to short-integer data
     17        psS32 *S32;                     ///< Pointers to integer data
     18        psS64 *S64;                     ///< Pointers to long-integer data
     19        psU8  *U18;                     ///< Pointers to unsigned-byte data
     20        psU16 *U16;                     ///< Pointers to unsigned-short-integer data
     21        psU32 *U32;                     ///< Pointers to unsigned-integer data
     22        psU64 *U64;                     ///< Pointers to unsigned-long-integer data
     23        psF32 *F32;                     ///< Pointers to floating-point data
     24        psF64 *F64;                     ///< Pointers to double-precision data
     25        psC32 *C32;                     ///< Pointers to complex floating-point data
     26        psC64 *C64;                     ///< Pointers to complex floating-point data
    2727    } data;
    2828} psVector;
     
    3737/// Create a vector of the specified size and type.
    3838psVector *
    39 psVectorAlloc (int nalloc,              ///< vector length
    40                psElemType type)         ///< vector data type
     39psVectorAlloc(int nalloc,               ///< vector length
     40              psElemType type)          ///< vector data type
    4141;
    4242
    4343/// Extend a vector
    4444psVector *
    45 psVectorRealloc (const psVector *vector, ///< vector to reallocate
    46                  int nalloc)            ///< required length
    47 ;
    48 
    49 /// Create a subvector of the specified range.
    50 psVector *
    51 psVectorSubset(const psVector *vector,  ///< parent vector
    52                int start,               ///< subvector range start
    53                int end)                 ///< subvector range end
    54 ;
    55 
    56 /// Destroy the specified vector
    57 void
    58 psVectorFree(psVector *restrict vector, ///< free this vector
    59              void (*elemFree)(void *))  ///< destructor for array data
    60 ;
    61 
    62 /** Transpose a vector.  Changes the type to a PS_DIMEN_TRANSV */
    63 psVector *psVectorTranspose(psVector *out, ///< Output vector, or NULL
    64                             psVector *myVector) ///< Vector to be transposed
     45psVectorRealloc(const psVector *vector, ///< vector to reallocate
     46                int nalloc)             ///< required length
    6547;
    6648
Note: See TracChangeset for help on using the changeset viewer.