IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 1574


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

Filling out psScalar.

File:
1 edited

Legend:

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

    r753 r1574  
    1111    psType type;                        ///< data type information
    1212    union {                           
    13         psS32 S32;                      ///< integer value entry
    14         psF32 F32;                      ///< float value entry
    15         psF64 F64;                      ///< double value entry
    16         psC32 C32;                      ///< complex value entry
     13        psS8   S8;                      ///< bye value entry
     14        psS16 S16;                      ///< short int value entry
     15        psU8   U8;                      ///< unsigned byte value entry
     16        psU16 U16;                      ///< unsigned short int value entry
     17        psF32 F32;                      ///< float value entry
     18        psF64 F64;                      ///< double value entry
     19        psC32 C32;                      ///< complex value entry
     20        psC64 C64;                      ///< double complex value entry
    1721    } data;
    1822} p_psScalar;
     
    2226 *  \{
    2327 */
     28
     29/** Scalar constructor */
     30psScalar *psScalarAlloc(psC64 value,    ///< Value to set
     31                        psElemType dataType ///< Data type
     32    );
     33
     34/** Copy a scalar */
     35psScalar *psScalarCopy(psScalar *value  ///< Scalar to copy
     36    );
    2437
    2538/** Perform a binary operation on two data items (psImage, psVector, psScalar). */
Note: See TracChangeset for help on using the changeset viewer.