Struct HoaWignerRotation
pub struct HoaWignerRotation {
pub cartesian_r: [[f64; 3]; 3],
pub d1: [[f64; 3]; 3],
pub d2: [[f64; 5]; 5],
pub d3: [[f64; 7]; 7],
}Fields§
§cartesian_r: [[f64; 3]; 3]§d1: [[f64; 3]; 3]§d2: [[f64; 5]; 5]§d3: [[f64; 7]; 7]Implementations§
§impl HoaWignerRotation
impl HoaWignerRotation
pub fn from_quaternion_xyzw( xyzw: [f64; 4], ) -> Result<HoaWignerRotation, SignalError>
pub fn from_cartesian_rotation_unchecked(r: [[f64; 3]; 3]) -> HoaWignerRotation
pub fn transpose(&self) -> HoaWignerRotation
pub fn apply_frame_f64( &self, order: HoaOrder, in_frame: &[f64], out_frame: &mut [f64], ) -> Result<(), SignalError>
pub fn apply_frame_in_place_f64( &self, order: HoaOrder, frame: &mut [f64], ) -> Result<(), SignalError>
pub fn apply_stream_into_f32( &self, order: HoaOrder, in_stream: &[f32], out_stream: &mut [f32], ) -> Result<usize, SignalError>
pub fn max_orthogonality_residual(&self, order: HoaOrder) -> f64
Trait Implementations§
§impl Clone for HoaWignerRotation
impl Clone for HoaWignerRotation
§fn clone(&self) -> HoaWignerRotation
fn clone(&self) -> HoaWignerRotation
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for HoaWignerRotation
§impl Debug for HoaWignerRotation
impl Debug for HoaWignerRotation
§impl PartialEq for HoaWignerRotation
impl PartialEq for HoaWignerRotation
impl StructuralPartialEq for HoaWignerRotation
Auto Trait Implementations§
impl Freeze for HoaWignerRotation
impl RefUnwindSafe for HoaWignerRotation
impl Send for HoaWignerRotation
impl Sync for HoaWignerRotation
impl Unpin for HoaWignerRotation
impl UnsafeUnpin for HoaWignerRotation
impl UnwindSafe for HoaWignerRotation
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more