copyFromArray method

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

Copies elements from array into this starting at offset.

Implementation

void copyFromArray(List<double> array, [int offset = 0]) {
  final i = offset;
  _m3storage[8] = array[i + 8];
  _m3storage[7] = array[i + 7];
  _m3storage[6] = array[i + 6];
  _m3storage[5] = array[i + 5];
  _m3storage[4] = array[i + 4];
  _m3storage[3] = array[i + 3];
  _m3storage[2] = array[i + 2];
  _m3storage[1] = array[i + 1];
  _m3storage[0] = array[i + 0];
}