NAME

cxVecNew - create a vector of the given type.

C SPECIFICATION

#include <cx/DataAccess.h>

typedef enum { cx_prim_byte, cx_prim_short, cx_prim_long, cx_prim_float, cx_prim_double } cxPrimType;

void *cxVecNew(long len, cxPrimType type)

FORTRAN SPECIFICATION

integer cx_prim_byte
integer cx_prim_short
integer cx_prim_long
integer cx_prim_float
integer cx_prim_double

parameter (cx_prim_byte = 0) parameter (cx_prim_short = 1) parameter (cx_prim_long = 2) parameter (cx_prim_float = 3) parameter (cx_prim_double = 4)

<type> function cxVecNew(len, type) integer len integer type

PARAMETERS

len
Number of vector elements.
type
Element type.

DESCRIPTION

cxVecNew creates a vector of len elements of type type from IRIS Explorer data memory. Both C and Fortran versions return a pointer to the vector.

SEE ALSO

cxDataAllocErrorGet(3E)
Last modified: Mon Nov 18 13:54:04 GMT 1996
[ Documentation Home ]
© The Numerical Algorithms Group Ltd, Oxford UK. 1996