pub struct QualityAnswer {
pub value: f64,
pub certificate: SolveCertificate,
pub gradient: Option<(Vec<f64>, GradientTrust)>,
}Expand description
Quantity value, certificate, and optional total gradient for a completed solve.
Fields§
§value: f64Scalar value of the requested quantity.
certificate: SolveCertificateCertificate describing residual, convergence, and gradient trust.
gradient: Option<(Vec<f64>, GradientTrust)>Gradient values and trust tag when a parameter list is supplied.
Trait Implementations§
Source§impl Clone for QualityAnswer
impl Clone for QualityAnswer
Source§fn clone(&self) -> QualityAnswer
fn clone(&self) -> QualityAnswer
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 QualityAnswer
impl RefUnwindSafe for QualityAnswer
impl Send for QualityAnswer
impl Sync for QualityAnswer
impl Unpin for QualityAnswer
impl UnsafeUnpin for QualityAnswer
impl UnwindSafe for QualityAnswer
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