pub fn powf(&self, n: N) -> Self {
        if let Some(v) = self.axis() {
            UnitQuaternion::from_axisangle(v, self.angle() * n)
        }
        else {
            ::one()
        }
    }
/// Raise this unit quaternion to a given floating power.
///
/// If this unit quaternion represents a rotation by `theta`, then the resulting quaternion
/// rotates by `n * theta`.
Raise this unit quaternion to a given floating power.
If this unit quaternion represents a rotation by `theta`, then the resulting quaternion
rotates by `n * theta`.
Raise this unit quaternion to a given floating power . If this unit quaternion represents a rotation by ` theta ` then the resulting quaternion rotates by ` n * theta ` .
pub fn powf(&self, n: N) -> Self {
        if let Some(v) = self.axis() {
            UnitQuaternion::from_axisangle(v, self.angle() * n)
        }
        else {
            ::one()
        }
    }
pub fn powf ( & self , n : N ) -> Self { if let Some ( v ) = self . axis ( ) { UnitQuaternion :: from_axisangle ( v , self . angle ( ) * n ) } else { :: one ( ) } }
Raise this unit quaternion to a given floating power.
Raise this unit quaternion to a given floating power .
&self
n
N
&self
n
N