pub struct InfConvolution {
pub f: String,
pub g: String,
}Expand description
Infimal convolution (epi-sum) of two functions f and g.
Fields§
§f: StringName or formula for f.
g: StringName or formula for g.
Implementations§
Source§impl InfConvolution
impl InfConvolution
Sourcepub fn is_convex_if_both_convex(&self) -> bool
pub fn is_convex_if_both_convex(&self) -> bool
Infimal convolution of two convex functions is convex.
Sourcepub fn epigraph_sum(&self) -> String
pub fn epigraph_sum(&self) -> String
Epigraph characterisation: epi(f □ g) = epi(f) + epi(g) (Minkowski sum).
Auto Trait Implementations§
impl Freeze for InfConvolution
impl RefUnwindSafe for InfConvolution
impl Send for InfConvolution
impl Sync for InfConvolution
impl Unpin for InfConvolution
impl UnsafeUnpin for InfConvolution
impl UnwindSafe for InfConvolution
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