pub struct Distribution {
pub name: String,
pub order: Option<usize>,
pub support: String,
pub is_regular: bool,
}Expand description
Represents a distribution (generalized function) as a linear functional on test functions.
Fields§
§name: StringName of the distribution.
order: Option<usize>Order: distributions of finite order.
support: StringSupport description.
is_regular: boolWhether the distribution is a regular distribution (given by integration).
Implementations§
Source§impl Distribution
impl Distribution
Sourcepub fn dirac_delta(point: f64) -> Self
pub fn dirac_delta(point: f64) -> Self
Creates the Dirac delta distribution.
Sourcepub fn differentiate(&self) -> Distribution
pub fn differentiate(&self) -> Distribution
Differentiation raises the order by 1.
Sourcepub fn fourier_transform_description(&self) -> String
pub fn fourier_transform_description(&self) -> String
Returns the Fourier transform description.
Sourcepub fn is_tempered(&self) -> bool
pub fn is_tempered(&self) -> bool
Checks if the distribution is tempered (in S’).
Trait Implementations§
Source§impl Clone for Distribution
impl Clone for Distribution
Source§fn clone(&self) -> Distribution
fn clone(&self) -> Distribution
Returns a duplicate of the value. Read more
1.0.0 · 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 Freeze for Distribution
impl RefUnwindSafe for Distribution
impl Send for Distribution
impl Sync for Distribution
impl Unpin for Distribution
impl UnsafeUnpin for Distribution
impl UnwindSafe for Distribution
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