copyFromArray method

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

Copies elements from array into this starting at offset.

Implementation

void copyFromArray(List<double> array, [int offset = 0]) {
  final int i = offset;
  _m2storage[3] = array[i + 3];
  _m2storage[2] = array[i + 2];
  _m2storage[1] = array[i + 1];
  _m2storage[0] = array[i + 0];
}