SDS_LENGTH(3)
NAME
sds_dim_n sds_dim0 sds_dim1 sds_dim2 sds_rank sds_length
-a set of functions to return the dimension information
SYNOPSIS
#include <soi_sds.h>
int sds_dim_n(SDS *sdsptr, int index)
int sds_dim0(SDS *sdsptr)
int sds_dim1(SDS *sdsptr)
int sds_dim2(SDS *sdsptr)
int sds_rank(SDS *sdsptr)
int *sds_length(SDS *sdsptr)
DESCRIPTION
returns the dimension information. The number of dimensions
is the rank. The length of each axis is stored in an array.
The index starts at 0 such that index 0 points to the first
axis, index 1 to the second axis, etc.
sds_dim_n returns the length of the nth+1 axis
sds_dim0 returns the length of the 1st axis
sds_dim1 returns the length of the 2nd axis
sds_dim2 returns the length of the 3rd axis
sds_rank returns the number of axes represented in data
array
sds_length returns a pointer to the array of axis lengths
FILES
~soi/(release)/include/soi_sds.h
~soi/(release)/src/libsds.d/sds_query.c
SEE ALSO
sds_dim_n, sds_dim0, sds_dim1, sds_dim2, sds_rank,
sds_length
FEATURES and BUGS
routines returns 0 if error is encountered contrary to our
soi error model. SH HISTORY 93.10.12 K Scott: created this
file for SOI V.0.7
1994-02-08 SOI Version 0.8