Struct linfa_linalg::reflection::Reflection
source · pub struct Reflection<A, D: Data<Elem = A>> { /* private fields */ }
Expand description
Reflection with respect to a plane
Implementations§
source§impl<A, D: Data<Elem = A>> Reflection<A, D>
impl<A, D: Data<Elem = A>> Reflection<A, D>
source§impl<A: NdFloat, D: Data<Elem = A>> Reflection<A, D>
impl<A: NdFloat, D: Data<Elem = A>> Reflection<A, D>
sourcepub fn reflect_cols<M: DataMut<Elem = A>>(&self, rhs: &mut ArrayBase<M, Ix2>)
pub fn reflect_cols<M: DataMut<Elem = A>>(&self, rhs: &mut ArrayBase<M, Ix2>)
Apply reflection to the columns of rhs
sourcepub fn reflect_rows<M: DataMut<Elem = A>>(&self, lhs: &mut ArrayBase<M, Ix2>)
pub fn reflect_rows<M: DataMut<Elem = A>>(&self, lhs: &mut ArrayBase<M, Ix2>)
Apply reflection to the rows of lhs
Auto Trait Implementations§
impl<A, D> Freeze for Reflection<A, D>
impl<A, D> RefUnwindSafe for Reflection<A, D>where
A: RefUnwindSafe,
D: RefUnwindSafe,
impl<A, D> Send for Reflection<A, D>
impl<A, D> Sync for Reflection<A, D>
impl<A, D> Unpin for Reflection<A, D>
impl<A, D> UnwindSafe for Reflection<A, D>
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