Changeset 680 for trunk/archive/pslib/include/psVector.h
- Timestamp:
- May 13, 2004, 3:21:30 PM (22 years ago)
- File:
-
- 1 edited
-
trunk/archive/pslib/include/psVector.h (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/archive/pslib/include/psVector.h
r671 r680 13 13 const int nalloc; ///< data region relative to parent 14 14 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 25 27 void **arr_v; 26 28 } arr; … … 37 39 psVector * 38 40 psVectorAlloc (int nalloc, ///< vector length 39 psElemType type ///< vector data type40 );41 psElemType type) ///< vector data type 42 ; 41 43 42 44 /// Extend a vector 43 45 psVector * 44 psVectorRealloc ( int nalloc, ///< vector length45 psElemType type ///< vector data type46 );46 psVectorRealloc (const psVector *vector, ///< vector to reallocate 47 int nalloc) ///< required length 48 ; 47 49 48 50 /// Create a subvector of the specified range. … … 50 52 psVectorSubset(const psVector *vector, ///< parent vector 51 53 int start, ///< subvector range start 52 int end ///< subvector range end53 );54 int end) ///< subvector range end 55 ; 54 56 55 57 /// Destroy the specified vector
Note:
See TracChangeset
for help on using the changeset viewer.
