fill method
Fill the matrix with a specific number
numThe number to fill the matrix with- Example
Matrix matrix = Matrix(2, 2);
matrix.fill(1);
Implementation
void fill(double num) {
_generateValues<double>(() => num);
}
Fill the matrix with a specific number
num The number to fill the matrix withMatrix matrix = Matrix(2, 2);
matrix.fill(1);
void fill(double num) {
_generateValues<double>(() => num);
}