#include "terrno.h" #include "gp.h" void copy(xtype, n, x, y) int xtype; int n; char *x; char *y; void fill(xtype, n, x, y) int xtype; int n; int x; char *y; void filld(xtype, n, x, y) int xtype; int n; double x; char *y; void dconvert(xtype, n, x, xbad, ybad, y) int xtype; int n; double x[]; double xbad; double ybad; char *y;
The functions described here are utility functions for copying and initializing data arrays.
copy copies the first n elements of array x into array y. The datatype of the arrays is specified by the parameter xtype, which must be a TDF datatype (datasets).
fill copies the value of x (an integer value) into the first n elements of array y. The datatype of the array is specified by the parameter xtype, which must be a TDF datatype (datasets).
filld copies the value of x (a real value) into the first n elements of array y. The datatype of the array is specified by the parameter xtype, which must be a TDF datatype (datasets).
dconvert copies the first n elements of array x, which is of type double, into array y. The datatype of y is specified by the parameter xtype, which must be a TDF datatype (datasets). xbad specifies 'bad' values for the x array. If any element of x is bad, or out of range for type xtype, then the corresponding element of y is set to ybad.
lib/libapp.a
gpset, gptype, gpvar, datasets, typestuff
Last Update: $Date: 1999/05/10 20:56:29 $