Matrix.fill constructor

Matrix.fill(
  1. int m,
  2. int n, [
  3. double fill = 0.0
])

Constructs a mxn (rows x cols) Matrix fill with fill=0.0.

m and n must be positive and larger than 0.

Implementation

Matrix.fill(int m, int n, [double fill = 0.0]) : _values = _createStore(m, n, fill);