Struct vecmat::distr::Normal [−][src]
Standard normal distribution.
Trait Implementations
impl<T, const N: usize> Distribution<Affine<T, N>> for Normal where
Normal: Distribution<Linear<T, N>> + Distribution<Shift<T, N>>,
[src]
Normal: Distribution<Linear<T, N>> + Distribution<Shift<T, N>>,
fn sample<R: Rng + ?Sized>(&self, rng: &mut R) -> Affine<T, N>
[src]
pub fn sample_iter<R>(self, rng: R) -> DistIter<Self, R, T> where
R: Rng,
[src]
R: Rng,
impl<T> Distribution<Complex<T>> for Normal where
Normal: Distribution<Vector<T, 2>>,
[src]
Normal: Distribution<Vector<T, 2>>,
fn sample<R: Rng + ?Sized>(&self, rng: &mut R) -> Complex<T>
[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 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 M: usize, const N: usize> Distribution<Matrix<T, M, N>> for Normal where
Normal: Distribution<T>,
[src]
Normal: Distribution<T>,
fn sample<R: Rng + ?Sized>(&self, rng: &mut R) -> Matrix<T, M, N>
[src]
pub fn sample_iter<R>(self, rng: R) -> DistIter<Self, R, T> where
R: Rng,
[src]
R: Rng,
impl<T> Distribution<Quaternion<T>> for Normal where
Normal: Distribution<Vector<T, 4>>,
[src]
Normal: Distribution<Vector<T, 4>>,
fn sample<R: Rng + ?Sized>(&self, rng: &mut R) -> Quaternion<T>
[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<Shift<T, N>> for Normal where
Normal: Distribution<Vector<T, N>>,
[src]
Normal: Distribution<Vector<T, N>>,
fn sample<R: Rng + ?Sized>(&self, rng: &mut R) -> Shift<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<Vector<T, N>> for Normal where
Normal: Distribution<T>,
[src]
Normal: Distribution<T>,
fn sample<R: Rng + ?Sized>(&self, rng: &mut R) -> Vector<T, N>
[src]
pub fn sample_iter<R>(self, rng: R) -> DistIter<Self, R, T> where
R: Rng,
[src]
R: Rng,
impl Distribution<f32> for Normal
[src]
fn sample<R: Rng + ?Sized>(&self, rng: &mut R) -> f32
[src]
pub fn sample_iter<R>(self, rng: R) -> DistIter<Self, R, T> where
R: Rng,
[src]
R: Rng,
impl Distribution<f64> for Normal
[src]
Auto Trait Implementations
impl RefUnwindSafe for Normal
impl Send for Normal
impl Sync for Normal
impl Unpin for Normal
impl UnwindSafe for Normal
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, 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>,