toArray method

List<double> toArray(
  1. List<double> array, [
  2. int offset = 0
])

Implementation

List<double> toArray(List<double> array, [int offset = 0]) {
  var coefficients = this.coefficients;

  for (var i = 0; i < 9; i++) {
    coefficients[i].toArray(array, offset + (i * 3));
  }

  return array;
}