abs method

double abs()

Returns the absolute value of the quaternion.

Implementation

double abs() => norm().sqrt();