pub struct LinearIso<S, V, W, M>(/* private fields */);
Expand description
Invertible linear map
Implementations§
Source§impl<S, V, W, M> LinearIso<S, V, W, M>
impl<S, V, W, M> LinearIso<S, V, W, M>
Sourcepub fn is_invertible(linear_map: M) -> bool
pub fn is_invertible(linear_map: M) -> bool
Checks whether the determinant is non-zero
Sourcepub fn is_invertible_approx(linear_map: M) -> boolwhere
S: RelativeEq<Epsilon = S>,
pub fn is_invertible_approx(linear_map: M) -> boolwhere
S: RelativeEq<Epsilon = S>,
Checks whether the determinant is non-zero with approximate equality
Sourcepub fn new_approx(linear_map: M) -> Option<Self>where
S: RelativeEq<Epsilon = S>,
pub fn new_approx(linear_map: M) -> Option<Self>where
S: RelativeEq<Epsilon = S>,
Checks if map is invertible with approximate equality
Trait Implementations§
Source§impl<S, V> DivAssign for LinearIso<S, V, V, Matrix2<S>>
impl<S, V> DivAssign for LinearIso<S, V, V, Matrix2<S>>
Source§fn div_assign(&mut self, rhs: Self)
fn div_assign(&mut self, rhs: Self)
Performs the
/=
operation. Read moreSource§impl<S, V> DivAssign for LinearIso<S, V, V, Matrix3<S>>
impl<S, V> DivAssign for LinearIso<S, V, V, Matrix3<S>>
Source§fn div_assign(&mut self, rhs: Self)
fn div_assign(&mut self, rhs: Self)
Performs the
/=
operation. Read moreSource§impl<S, V> DivAssign for LinearIso<S, V, V, Matrix4<S>>
impl<S, V> DivAssign for LinearIso<S, V, V, Matrix4<S>>
Source§fn div_assign(&mut self, rhs: Self)
fn div_assign(&mut self, rhs: Self)
Performs the
/=
operation. Read moreSource§impl<S, V> From<LinearIso<S, V, V, <V as Module<S>>::LinearEndo>> for LinearAuto<S, V>
impl<S, V> From<LinearIso<S, V, V, <V as Module<S>>::LinearEndo>> for LinearAuto<S, V>
Source§fn from(value: LinearIso<S, V, V, V::LinearEndo>) -> Self
fn from(value: LinearIso<S, V, V, V::LinearEndo>) -> Self
Converts to this type from the input type.
Source§impl<S> Mul<LinearIso<S, Vec2<S>, Vec2<S>, Mat2<S>>> for Vector2<S>where
S: Ring + MaybeSerDes,
impl<S> Mul<LinearIso<S, Vec2<S>, Vec2<S>, Mat2<S>>> for Vector2<S>where
S: Ring + MaybeSerDes,
Source§impl<S> Mul<LinearIso<S, Vec3<S>, Vec3<S>, Mat3<S>>> for Vector3<S>where
S: Ring + MaybeSerDes,
impl<S> Mul<LinearIso<S, Vec3<S>, Vec3<S>, Mat3<S>>> for Vector3<S>where
S: Ring + MaybeSerDes,
Source§impl<S> Mul<LinearIso<S, Vec4<S>, Vec4<S>, Mat4<S>>> for Vector4<S>where
S: Ring + MaybeSerDes,
impl<S> Mul<LinearIso<S, Vec4<S>, Vec4<S>, Mat4<S>>> for Vector4<S>where
S: Ring + MaybeSerDes,
Source§impl<S, V> Mul for LinearIso<S, V, V, V::LinearEndo>
impl<S, V> Mul for LinearIso<S, V, V, V::LinearEndo>
Source§impl<S, V> MulAssign for LinearIso<S, V, V, V::LinearEndo>
impl<S, V> MulAssign for LinearIso<S, V, V, V::LinearEndo>
Source§fn mul_assign(&mut self, rhs: Self)
fn mul_assign(&mut self, rhs: Self)
Performs the
*=
operation. Read moreSource§impl<S, V> One for LinearIso<S, V, V, V::LinearEndo>
impl<S, V> One for LinearIso<S, V, V, V::LinearEndo>
Source§impl<S: PartialEq, V: PartialEq, W: PartialEq, M: PartialEq> PartialEq for LinearIso<S, V, W, M>
impl<S: PartialEq, V: PartialEq, W: PartialEq, M: PartialEq> PartialEq for LinearIso<S, V, W, M>
impl<S: Copy, V: Copy, W: Copy, M: Copy> Copy for LinearIso<S, V, W, M>
impl<S, V, W, M> StructuralPartialEq for LinearIso<S, V, W, M>
Auto Trait Implementations§
impl<S, V, W, M> Freeze for LinearIso<S, V, W, M>where
M: Freeze,
impl<S, V, W, M> RefUnwindSafe for LinearIso<S, V, W, M>
impl<S, V, W, M> Send for LinearIso<S, V, W, M>
impl<S, V, W, M> Sync for LinearIso<S, V, W, M>
impl<S, V, W, M> Unpin for LinearIso<S, V, W, M>
impl<S, V, W, M> UnwindSafe for LinearIso<S, V, W, M>
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
Source§impl<T> CheckedAs for T
impl<T> CheckedAs for T
Source§fn checked_as<Dst>(self) -> Option<Dst>where
T: CheckedCast<Dst>,
fn checked_as<Dst>(self) -> Option<Dst>where
T: CheckedCast<Dst>,
Casts the value.
Source§impl<Src, Dst> CheckedCastFrom<Src> for Dstwhere
Src: CheckedCast<Dst>,
impl<Src, Dst> CheckedCastFrom<Src> for Dstwhere
Src: CheckedCast<Dst>,
Source§fn checked_cast_from(src: Src) -> Option<Dst>
fn checked_cast_from(src: Src) -> Option<Dst>
Casts the value.
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§impl<Src, Dst> LosslessTryInto<Dst> for Srcwhere
Dst: LosslessTryFrom<Src>,
impl<Src, Dst> LosslessTryInto<Dst> for Srcwhere
Dst: LosslessTryFrom<Src>,
Source§fn lossless_try_into(self) -> Option<Dst>
fn lossless_try_into(self) -> Option<Dst>
Performs the conversion.
Source§impl<Src, Dst> LossyInto<Dst> for Srcwhere
Dst: LossyFrom<Src>,
impl<Src, Dst> LossyInto<Dst> for Srcwhere
Dst: LossyFrom<Src>,
Source§fn lossy_into(self) -> Dst
fn lossy_into(self) -> Dst
Performs the conversion.
Source§impl<T> OverflowingAs for T
impl<T> OverflowingAs for T
Source§fn overflowing_as<Dst>(self) -> (Dst, bool)where
T: OverflowingCast<Dst>,
fn overflowing_as<Dst>(self) -> (Dst, bool)where
T: OverflowingCast<Dst>,
Casts the value.
Source§impl<Src, Dst> OverflowingCastFrom<Src> for Dstwhere
Src: OverflowingCast<Dst>,
impl<Src, Dst> OverflowingCastFrom<Src> for Dstwhere
Src: OverflowingCast<Dst>,
Source§fn overflowing_cast_from(src: Src) -> (Dst, bool)
fn overflowing_cast_from(src: Src) -> (Dst, bool)
Casts the value.
Source§impl<T> SaturatingAs for T
impl<T> SaturatingAs for T
Source§fn saturating_as<Dst>(self) -> Dstwhere
T: SaturatingCast<Dst>,
fn saturating_as<Dst>(self) -> Dstwhere
T: SaturatingCast<Dst>,
Casts the value.
Source§impl<Src, Dst> SaturatingCastFrom<Src> for Dstwhere
Src: SaturatingCast<Dst>,
impl<Src, Dst> SaturatingCastFrom<Src> for Dstwhere
Src: SaturatingCast<Dst>,
Source§fn saturating_cast_from(src: Src) -> Dst
fn saturating_cast_from(src: Src) -> Dst
Casts the value.
Source§impl<T> UnwrappedAs for T
impl<T> UnwrappedAs for T
Source§fn unwrapped_as<Dst>(self) -> Dstwhere
T: UnwrappedCast<Dst>,
fn unwrapped_as<Dst>(self) -> Dstwhere
T: UnwrappedCast<Dst>,
Casts the value.
Source§impl<Src, Dst> UnwrappedCastFrom<Src> for Dstwhere
Src: UnwrappedCast<Dst>,
impl<Src, Dst> UnwrappedCastFrom<Src> for Dstwhere
Src: UnwrappedCast<Dst>,
Source§fn unwrapped_cast_from(src: Src) -> Dst
fn unwrapped_cast_from(src: Src) -> Dst
Casts the value.
Source§impl<T> WrappingAs for T
impl<T> WrappingAs for T
Source§fn wrapping_as<Dst>(self) -> Dstwhere
T: WrappingCast<Dst>,
fn wrapping_as<Dst>(self) -> Dstwhere
T: WrappingCast<Dst>,
Casts the value.
Source§impl<Src, Dst> WrappingCastFrom<Src> for Dstwhere
Src: WrappingCast<Dst>,
impl<Src, Dst> WrappingCastFrom<Src> for Dstwhere
Src: WrappingCast<Dst>,
Source§fn wrapping_cast_from(src: Src) -> Dst
fn wrapping_cast_from(src: Src) -> Dst
Casts the value.