Main Page | Modules | Alphabetical List | Data Structures | Directories | File List | Data Fields | Globals

Scalar
[Data Containers]

Collaboration diagram for Scalar:


Files

file  psScalar.h
 Contains basic scalar definitions and operations.

Data Structures

struct  psScalar
 Basic scalar data structure. More...

Functions

psScalarpsScalarAlloc (psC64 value, psElemType dataType)
 Allocate a scalar.
psScalarpsScalarCopy (psScalar *scalar)
 Copy a scalar.


Function Documentation

psScalar* psScalarAlloc psC64  value,
psElemType  dataType
 

Allocate a scalar.

Uses psLib memory allocation functions to create scalar data as defined by the psType type. Accepts a complex 64 bit float for input value, as max size, but resizes according to correct type.

Returns:
psScalar* Pointer to a new psScalar.
Parameters:
value  Data to be put into psScalar.
dataType  Type of data to be held by psScalar.

psScalar* psScalarCopy psScalar scalar  ) 
 

Copy a scalar.

Uses psLib memory allocation functions to copy a scalar.

Returns:
psScalar* A copy of the input scalar
Parameters:
scalar  Scalar to copy.


Generated on Wed Jun 15 11:01:14 2005 for Pan-STARRS Foundation Library by  doxygen 1.4.1