pub struct PointEval {Show 13 fields
pub label: String,
pub x: Vec<Number>,
pub f: Option<Number>,
pub grad: Vec<Number>,
pub grad_ok: bool,
pub g: Vec<Number>,
pub g_ok: bool,
pub jac_irow: Vec<usize>,
pub jac_jcol: Vec<usize>,
pub jac_val: Vec<Number>,
pub jac_structure_ok: bool,
pub jac_ok: bool,
pub is_solution: bool,
}Expand description
Values and first derivatives at one point, from the solver’s own evaluator (the same callbacks a solve would call).
Fields§
§label: String§x: Vec<Number>§f: Option<Number>§grad: Vec<Number>§grad_ok: bool§g: Vec<Number>§g_ok: bool§jac_irow: Vec<usize>Jacobian triplets, 0-based.
jac_jcol: Vec<usize>§jac_val: Vec<Number>§jac_structure_ok: bool§jac_ok: bool§is_solution: boolThe point is where a solve stopped (--sol).
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Forget for PointEval
impl Freeze for PointEval
impl Move for PointEval
impl RefUnwindSafe for PointEval
impl Send for PointEval
impl Sync for PointEval
impl Unpin for PointEval
impl UnsafeUnpin for PointEval
impl UnwindSafe for PointEval
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T, U> Imply<T> for U
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
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