magnitudes method

Float64List magnitudes()

Returns the magnitudes of the elements of the Float64x2List.

Implementation

Float64List magnitudes() {
  final m = squareMagnitudes();
  for (int i = 0; i < m.length; ++i) {
    m[i] = math.sqrt(m[i]);
  }
  return m;
}