Function quaternion::square_len [] [src]

pub fn square_len<T>(q: Quaternion<T>) -> T where T: Float

Computes the square length of a quaternion.