pub struct MittagLefflerKernel<S: Scalar> {
pub lambda: S,
pub alpha: S,
pub beta: S,
}Expand description
Mittag-Leffler kernel (for fractional derivatives).
K(τ) = τ^(β-1) * E_{α,β}(-λ * τ^α)
Reduces to exponential when α = β = 1.
Fields§
§lambda: SRate parameter λ
alpha: SFirst ML parameter α
beta: SSecond ML parameter β
Implementations§
Source§impl<S: Scalar> MittagLefflerKernel<S>
impl<S: Scalar> MittagLefflerKernel<S>
pub fn new(lambda: S, alpha: S, beta: S) -> Self
Sourcepub fn relaxation(lambda: S, alpha: S) -> Self
pub fn relaxation(lambda: S, alpha: S) -> Self
Standard relaxation kernel with α = β.
Trait Implementations§
Source§impl<S: Clone + Scalar> Clone for MittagLefflerKernel<S>
impl<S: Clone + Scalar> Clone for MittagLefflerKernel<S>
Source§fn clone(&self) -> MittagLefflerKernel<S>
fn clone(&self) -> MittagLefflerKernel<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 MittagLefflerKernel<S>where
S: Freeze,
impl<S> RefUnwindSafe for MittagLefflerKernel<S>where
S: RefUnwindSafe,
impl<S> Send for MittagLefflerKernel<S>
impl<S> Sync for MittagLefflerKernel<S>
impl<S> Unpin for MittagLefflerKernel<S>where
S: Unpin,
impl<S> UnsafeUnpin for MittagLefflerKernel<S>where
S: UnsafeUnpin,
impl<S> UnwindSafe for MittagLefflerKernel<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