pub struct InterpolationData {
pub space0: String,
pub space1: String,
pub theta: f64,
pub method: InterpolationMethod,
}Expand description
Data for interpolation between Banach spaces.
Fields§
§space0: StringSpace X_0 description.
space1: StringSpace X_1 description.
theta: f64Interpolation parameter θ ∈ [0,1].
method: InterpolationMethodInterpolation method.
Implementations§
Source§impl InterpolationData
impl InterpolationData
Sourcepub fn new(
space0: &str,
space1: &str,
theta: f64,
method: InterpolationMethod,
) -> Self
pub fn new( space0: &str, space1: &str, theta: f64, method: InterpolationMethod, ) -> Self
Creates interpolation data.
Sourcepub fn lp_exponent(&self, p0: f64, p1: f64) -> f64
pub fn lp_exponent(&self, p0: f64, p1: f64) -> f64
Returns the interpolation exponent for L^p spaces: 1/p = (1-θ)/p0 + θ/p1.
Sourcepub fn riesz_thorin_bound(&self, m0: f64, m1: f64) -> f64
pub fn riesz_thorin_bound(&self, m0: f64, m1: f64) -> f64
Riesz-Thorin theorem: if T: X0→Y0 has norm M0 and T: X1→Y1 has norm M1, then T: [X0,X1]_θ → [Y0,Y1]_θ has norm <= M0^{1-θ} M1^θ.
Sourcepub fn interpolation_space(&self) -> String
pub fn interpolation_space(&self) -> String
Returns the interpolation space description.
Trait Implementations§
Source§impl Clone for InterpolationData
impl Clone for InterpolationData
Source§fn clone(&self) -> InterpolationData
fn clone(&self) -> InterpolationData
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 InterpolationData
impl RefUnwindSafe for InterpolationData
impl Send for InterpolationData
impl Sync for InterpolationData
impl Unpin for InterpolationData
impl UnsafeUnpin for InterpolationData
impl UnwindSafe for InterpolationData
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