toArray method

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

Set this Quant in the form of an array using array and offset

Implementation

void toArray(List<double> array, [int offset = 0]) {
  array[ offset ] = x;
  array[ offset + 1 ] = y;
  array[ offset + 2 ] = z;
  array[ offset + 3 ] = w;
}