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
sourceimpl<A, D: Data<Elem = A>> Reflection<A, D>
impl<A, D: Data<Elem = A>> Reflection<A, D>
sourceimpl<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> RefUnwindSafe for Reflection<A, D> where
A: RefUnwindSafe,
D: RefUnwindSafe,
impl<A, D> Send for Reflection<A, D> where
A: Send,
D: Send,
impl<A, D> Sync for Reflection<A, D> where
A: Sync,
D: Sync,
impl<A, D> Unpin for Reflection<A, D> where
A: Unpin,
D: Unpin,
impl<A, D> UnwindSafe for Reflection<A, D> where
A: UnwindSafe + RefUnwindSafe,
D: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more