The Complete SPRLIB & ANNLIB

random_multi_init

- initialization routine for generating a random pattern

SYNOPSIS

int random_multi_init (cov, n)

ARGUMENTS

double **cov The covariance matrix, a matrix of size [1..n][1..n].
int n The dimension of the covariance matrix.

RETURNS

The function returns TRUE if an error was detected, and FALSE otherwise.

FUNCTION

The function allocates the necessary (local) space for generating a pattern using the function random_multi_gauss. It receives as input a covariance matrix which is decorrelated and stored in the local variables, see GASMULT-variables.

NOTE

The variable cov is in matrix format. This function must be called in advance before using random_multi_gauss.

SEE ALSO

random_multi_free, random_multi_gauss

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