IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Mar 10, 2004, 12:07:04 PM (22 years ago)
Author:
eugene
Message:

cleaned up types / implementation for math operations

File:
1 edited

Legend:

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

    r205 r206  
    3838 * generally.
    3939 */
    40 typedef float psFloat;
    41 typedef int psInt;
    42 typedef complex float psComplex;
    43 typedef double psDouble;
     40typedef float          psFloat;         ///< BITPIX -32 (float)
     41typedef float          psF32;           ///< BITPIX -32 (float)
     42typedef double         psDouble;
     43typedef double         psF64;           ///< BITPIX -64 (double)
     44
     45typedef complex float  psComplex;
     46
     47typedef int8_t         psS8;
     48typedef int16_t        psS16;
     49typedef int32_t        psS32;
     50typedef int64_t        psS64;
     51typedef int8_t         psChar;
     52typedef int16_t        psShort;
     53typedef int32_t        psInt;
     54typedef int64_t        psLong;
     55
     56typedef uint8_t        psU8;            ///< BITPIX 8   
     57typedef uint16_t       psU16;           ///< BITPIX 16 
     58typedef uint32_t       psU32;           ///< BITPIX 32 
     59typedef uint64_t       psU64;           
     60typedef uint8_t        psUchar;         ///< BITPIX 8   
     61typedef uint16_t       psUshort;        ///< BITPIX 16 
     62typedef uint32_t       psUint;          ///< BITPIX 32 
     63typedef uint64_t       psUlong;         
    4464
    4565/** An array of real numbers */
     
    5272/** An array of complex numbers */
    5373PS_DECLARE_ARRAY_TYPE(psComplex);
    54 PS_CREATE_ARRAY_TYPE(psComplex);
    5574
    5675/** An array of integers */
    5776PS_DECLARE_ARRAY_TYPE(psInt);
    58 PS_CREATE_ARRAY_TYPE(psInt);
    5977
    6078/** An array of double-precision real numbers */
    6179PS_DECLARE_ARRAY_TYPE(psDouble);
    62 PS_CREATE_ARRAY_TYPE(psDouble);
     80
     81PS_DECLARE_ARRAY_TYPE(psFloatArray);    ///< Declare an array of real vectors (psFloatArrayArray).
    6382
    6483#endif
Note: See TracChangeset for help on using the changeset viewer.