pub struct ProblemSummary {
pub x_dim: usize,
pub residual_dim: usize,
pub equality_blocks: usize,
pub equality_rows: usize,
pub inequality_blocks: usize,
pub inequality_rows: usize,
pub has_bounds: bool,
pub loss: Loss,
pub class: ProblemClass,
}Expand description
Lightweight summary of a constrained residual problem.
Fields§
§x_dim: usize§residual_dim: usize§equality_blocks: usize§equality_rows: usize§inequality_blocks: usize§inequality_rows: usize§has_bounds: bool§loss: Loss§class: ProblemClassTrait Implementations§
Source§impl Clone for ProblemSummary
impl Clone for ProblemSummary
Source§fn clone(&self) -> ProblemSummary
fn clone(&self) -> ProblemSummary
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 moreSource§impl Debug for ProblemSummary
impl Debug for ProblemSummary
Source§impl PartialEq for ProblemSummary
impl PartialEq for ProblemSummary
impl StructuralPartialEq for ProblemSummary
Auto Trait Implementations§
impl Freeze for ProblemSummary
impl RefUnwindSafe for ProblemSummary
impl Send for ProblemSummary
impl Sync for ProblemSummary
impl Unpin for ProblemSummary
impl UnsafeUnpin for ProblemSummary
impl UnwindSafe for ProblemSummary
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more