int matrix_d_gaussrows_values

(double** matrix, int rows,
  int cols, double** mue, double u)

Gives each row in a matrix values according to a certain Gauss density.

Documentation

Gives each row in a matrix values according to a certain Gauss density. Mean values are randomly generated if mue == NULL. u ($\sigma^2$) must be given.
Parameters:
matrix - : double matrix
rows - : number of rows
cols - : number of columns
mue - : pointer to the vector containing the mean values for each row
u - : standard deviation, for all rows equal
Returns:
0 for success; -1 for failure

Alphabetic index



This page was generated with the help of DOC++.