Struct vecmat::transform::Linear [−][src]
Linear transformation.
Implementations
impl<T, const N: usize> Linear<T, N>
[src]
pub fn from_matrix(lin: Matrix<T, N, N>) -> Self
[src]
pub fn into_matrix(self) -> Matrix<T, N, N>
[src]
impl<T> Linear<T, 3> where
T: Float,
[src]
T: Float,
impl<T> Linear<T, 3> where
T: Float + NumCast,
[src]
T: Float + NumCast,
pub fn look_at_any(dir: Vector<T, 3>) -> Self
[src]
Trait Implementations
impl<T, const N: usize> AbsDiffEq<Linear<T, N>> for Linear<T, N> where
T: AbsDiffEq<Epsilon = T> + Copy,
[src]
T: AbsDiffEq<Epsilon = T> + Copy,
type Epsilon = T
Used for specifying relative comparisons.
fn default_epsilon() -> Self::Epsilon
[src]
fn abs_diff_eq(&self, other: &Self, epsilon: Self::Epsilon) -> bool
[src]
pub fn abs_diff_ne(&self, other: &Rhs, epsilon: Self::Epsilon) -> bool
[src]
impl<T: Clone, const N: usize> Clone for Linear<T, N>
[src]
impl<T: Copy, const N: usize> Copy for Linear<T, N>
[src]
impl<T: Debug, const N: usize> Debug for Linear<T, N>
[src]
impl<T, const N: usize> Distribution<Linear<T, N>> for Normal where
Normal: Distribution<Matrix<T, N, N>>,
[src]
Normal: Distribution<Matrix<T, N, N>>,
fn sample<R: Rng + ?Sized>(&self, rng: &mut R) -> Linear<T, N>
[src]
pub fn sample_iter<R>(self, rng: R) -> DistIter<Self, R, T> where
R: Rng,
[src]
R: Rng,
impl<T, const N: usize> Distribution<Linear<T, N>> for Invertible where
Invertible: Distribution<Matrix<T, N, N>>,
[src]
Invertible: Distribution<Matrix<T, N, N>>,
fn sample<R: Rng + ?Sized>(&self, rng: &mut R) -> Linear<T, N>
[src]
pub fn sample_iter<R>(self, rng: R) -> DistIter<Self, R, T> where
R: Rng,
[src]
R: Rng,
impl<T, const N: usize> From<Linear<T, N>> for Matrix<T, N, N>
[src]
impl<T, const N: usize> From<Matrix<T, N, N>> for Linear<T, N>
[src]
impl<T: PartialEq, const N: usize> PartialEq<Linear<T, N>> for Linear<T, N>
[src]
impl<T, const N: usize> StructuralPartialEq for Linear<T, N>
[src]
impl<T, const N: usize> Transform<T, N> for Linear<T, N> where
T: Neg<Output = T> + Num + Copy,
[src]
T: Neg<Output = T> + Num + Copy,
Auto Trait Implementations
impl<T, const N: usize> RefUnwindSafe for Linear<T, N> where
T: RefUnwindSafe,
T: RefUnwindSafe,
impl<T, const N: usize> Send for Linear<T, N> where
T: Send,
T: Send,
impl<T, const N: usize> Sync for Linear<T, N> where
T: Sync,
T: Sync,
impl<T, const N: usize> Unpin for Linear<T, N> where
T: Unpin,
T: Unpin,
impl<T, const N: usize> UnwindSafe for Linear<T, N> where
T: UnwindSafe,
T: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,