pub struct ExponentialKernel<S: Scalar> {
pub a: S,
pub b: S,
}Expand description
Exponential kernel: K(τ) = a * exp(-b * τ).
Common in viscoelastic materials (Maxwell element).
Fields§
§a: SAmplitude
b: SDecay rate
Implementations§
Trait Implementations§
Source§impl<S: Clone + Scalar> Clone for ExponentialKernel<S>
impl<S: Clone + Scalar> Clone for ExponentialKernel<S>
Source§fn clone(&self) -> ExponentialKernel<S>
fn clone(&self) -> ExponentialKernel<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 moreAuto Trait Implementations§
impl<S> Freeze for ExponentialKernel<S>where
S: Freeze,
impl<S> RefUnwindSafe for ExponentialKernel<S>where
S: RefUnwindSafe,
impl<S> Send for ExponentialKernel<S>
impl<S> Sync for ExponentialKernel<S>
impl<S> Unpin for ExponentialKernel<S>where
S: Unpin,
impl<S> UnsafeUnpin for ExponentialKernel<S>where
S: UnsafeUnpin,
impl<S> UnwindSafe for ExponentialKernel<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