randn function
Create a matrix with random values
rowThe number of rows in the matrixcolThe number of columns in the matrixseedThe optional seed- Returns The matrix
Implementation
Matrix randn(int row, int col, {double start = -1, double end = 1, int? seed}) {
Matrix matrix = Matrix(row, col);
matrix.generateDouble(start, end, seed: seed);
return matrix;
}