operator []= method

void operator []=(
  1. int index,
  2. List<num> value
)

Implementation

void operator []=(int index, List<num> value) {
  if (value.length != _col) {
    throw Exception("Invalid column length");
  }
  _matrix[index] = List<double>.from(value);
}