toRealArray method

Float64List toRealArray()

Returns the real components of the Float64x2List.

This method just discards the imaginary components. It doesn't check whether the imaginary components are actually close to zero.

Implementation

Float64List toRealArray() {
  final r = Float64List(length);
  for (int i = 0; i < r.length; ++i) {
    r[i] = this[i].x;
  }
  return r;
}