pub enum NoiseCorrelation<S: Scalar> {
White,
Colored {
correlation_length: S,
},
TraceClass {
n_modes: usize,
decay_rate: S,
},
}Expand description
Noise correlation structure.
Variants§
White
Spatially white noise (independent at each grid point)
Colored
Spatially colored noise with correlation length
Fields
§
correlation_length: SCorrelation length (distance over which noise is correlated)
TraceClass
Trace-class noise (finite number of modes)
Trait Implementations§
Source§impl<S: Clone + Scalar> Clone for NoiseCorrelation<S>
impl<S: Clone + Scalar> Clone for NoiseCorrelation<S>
Source§fn clone(&self) -> NoiseCorrelation<S>
fn clone(&self) -> NoiseCorrelation<S>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<S: Scalar> Default for NoiseCorrelation<S>
impl<S: Scalar> Default for NoiseCorrelation<S>
Source§fn default() -> NoiseCorrelation<S>
fn default() -> NoiseCorrelation<S>
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl<S> Freeze for NoiseCorrelation<S>where
S: Freeze,
impl<S> RefUnwindSafe for NoiseCorrelation<S>where
S: RefUnwindSafe,
impl<S> Send for NoiseCorrelation<S>
impl<S> Sync for NoiseCorrelation<S>
impl<S> Unpin for NoiseCorrelation<S>where
S: Unpin,
impl<S> UnsafeUnpin for NoiseCorrelation<S>where
S: UnsafeUnpin,
impl<S> UnwindSafe for NoiseCorrelation<S>where
S: UnwindSafe,
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> 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 more