NAME

SYNOPSIS


#include "libcu.h"

/* RFL file I/O routines */
RFLFILE *opnrfl(char * name, char mode, RFLDB * data_block);
int       rflin(RFLFILE * rfp, RFLREC * record, float time);
int       rflou(RFLFILE * rfp, RFLREC * record, float time);
int      clsrfl(RFLFILE * rfp);

/* Command line arg unpacking */
void unpack(int argc, char **argv, CMDARG *cmdargs, char **cmdfiles);
char *garg(CMDARG *cmdargs, char *key);

/* Implement trained Neural Net */
ANN *init_net(char *weightfile);
void free_net(ANN *net);
void run_net (ANN *net, float *inact, float *outact);

/* Windows Global Allocation functions */
char *Galloc(long size);
char *Gcalloc(long units, long size);
void Gfree(char __huge *pointer);
char *Grealloc(char *pointer, long size);

/* Multi-dimensional array support */
char  **alloc2d (int dim1, int dim2, int size);
int free2d (char **mat);
char ***alloc3d (int dim1, int dim2, int dim3, int size);
int free3d (char ***mat);
char ****alloc4d (int dim1, int dim2, int dim3, int dim4, int size);
int free4d (char ****mat);
char **alloclt (int dim, int size);
char **allocut (int dim, int size);
char **alloc2d2 (int numclass, int *nvals, int size);
char ***alloc3d2 (int dim1, int dim2, int *nvals, int numnvals, int size);
char ***alloc3d2ndvar (int dim1, int *nvals, int dim2, int size);

/* Miscelaneous functions */
int dcs (char *dc, int *ipt, char *ins, char *ous, char *ch);
void defext (char *str, char *ext);
void setext (char *str, char *ext);
char *jscat (char *rtn, char *in1, ..., char *(null));
double log2(double value);
float pearsn(float x[], float y[], int n);
void prompt (char *p, char *r);
int StdDev( int n, float *Data, float *Scaled, double Mult);
void strpad (char *str, int length);
char *uatola(char *s);
char *latoua(char *s);

DESCRIPTION

These are the basic utility functions used by various applications.

XXXX

AUTHOR

Bunnell/Peters/Fecko