pub struct Chain<A, B, T> { /* private fields */ }Expand description
Transformation obtained by combining two other ones.
Transformations are applied in the following order: A(B(x)).
Implementations§
Trait Implementations§
Source§impl<A, B, T> AbsDiffEq for Chain<A, B, T>
Available on crate feature approx only.
impl<A, B, T> AbsDiffEq for Chain<A, B, T>
Available on crate feature
approx only.Source§fn default_epsilon() -> Self::Epsilon
fn default_epsilon() -> Self::Epsilon
The default tolerance to use when testing values that are close together. Read more
Source§fn abs_diff_eq(&self, other: &Self, epsilon: Self::Epsilon) -> bool
fn abs_diff_eq(&self, other: &Self, epsilon: Self::Epsilon) -> bool
A test for equality that uses the absolute difference to compute the approximate
equality of two numbers.
Source§fn abs_diff_ne(&self, other: &Rhs, epsilon: Self::Epsilon) -> bool
fn abs_diff_ne(&self, other: &Rhs, epsilon: Self::Epsilon) -> bool
The inverse of
AbsDiffEq::abs_diff_eq.impl<A: Copy, B: Copy, T: Copy> Copy for Chain<A, B, T>
Source§impl<A, B, T> Directional<T> for Chain<A, B, T>
impl<A, B, T> Directional<T> for Chain<A, B, T>
Source§impl<T, const N: usize> Distribution<Chain<Shift<T, N>, Linear<T, N>, Vector<T, N>>> for Normal
Available on crate feature rand only.
impl<T, const N: usize> Distribution<Chain<Shift<T, N>, Linear<T, N>, Vector<T, N>>> for Normal
Available on crate feature
rand only.Source§fn sample<R: Rng + ?Sized>(&self, rng: &mut R) -> Affine<T, N>
fn sample<R: Rng + ?Sized>(&self, rng: &mut R) -> Affine<T, N>
Generate a random value of
T, using rng as the source of randomness.Source§impl<T, const N: usize> Distribution<Chain<Shift<T, N>, Linear<T, N>, Vector<T, N>>> for Invertible
Available on crate feature rand only.
impl<T, const N: usize> Distribution<Chain<Shift<T, N>, Linear<T, N>, Vector<T, N>>> for Invertible
Available on crate feature
rand only.Source§fn sample<R: Rng + ?Sized>(&self, rng: &mut R) -> Affine<T, N>
fn sample<R: Rng + ?Sized>(&self, rng: &mut R) -> Affine<T, N>
Generate a random value of
T, using rng as the source of randomness.impl<A: PartialEq, B: PartialEq, T: PartialEq> StructuralPartialEq for Chain<A, B, T>
Auto Trait Implementations§
impl<A, B, T> Freeze for Chain<A, B, T>
impl<A, B, T> RefUnwindSafe for Chain<A, B, T>
impl<A, B, T> Send for Chain<A, B, T>
impl<A, B, T> Sync for Chain<A, B, T>
impl<A, B, T> Unpin for Chain<A, B, T>
impl<A, B, T> UnsafeUnpin for Chain<A, B, T>
impl<A, B, T> UnwindSafe for Chain<A, B, T>
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