The Complete SPRLIB & ANNLIB

fscanf_io_pattern

- read an input-output learning pattern from a stream (LOCAL)

SYNOPSIS

int fscanf_pattern (stream, numin, numout, in, out)

ARGUMENTS

FILE *stream A valid filepointer.
int numin The number of elements to be read in the in vector.
int numout The number of elements to be read in the out vector.
double *in A vector in which the input pattern is returned, with elements 1..numin.
double *out A vector in which the output pattern is returned, with elements 1..numout.

RETURNS

TRUE if an error was detected, FALSE if not.

FUNCTION

This routine reads one input-output pattern pair from an opened stream. See DATASET-IO-format for the layout. First, remark lines (starting with !) are discarded. Then, the vectors in and out are read.

NOTE

This function is used by the fscanf_dataset function through fscanf_sample.

SEE ALSO

fscanf_pattern, fscanf_header, fscanf_sample, fscanf_dataset, fscanf_compressed_dataset

This document was generated using api2html on Thu Mar 5 09:00:00 MET DST 1998