pub struct ConvexFunction {
pub dim: usize,
}Expand description
A convex function represented by its evaluations on a grid (or analytically via a closure).
Fields§
§dim: usizeDimension of the domain.
Implementations§
Source§impl ConvexFunction
impl ConvexFunction
Trait Implementations§
Source§impl Clone for ConvexFunction
impl Clone for ConvexFunction
Source§fn clone(&self) -> ConvexFunction
fn clone(&self) -> ConvexFunction
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 ConvexFunction
impl RefUnwindSafe for ConvexFunction
impl Send for ConvexFunction
impl Sync for ConvexFunction
impl Unpin for ConvexFunction
impl UnsafeUnpin for ConvexFunction
impl UnwindSafe for ConvexFunction
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