pub struct Constraint {
pub residuals: Vec<Scalar>,
pub jacobian: BTreeMap<String, Vec<Vec<Scalar>>>,
pub bound: Bound,
}Expand description
What an operation requires of the state: residuals that are zero — or, for a limit, at most zero — where it holds, each a length, and how they change as the values of the state they depend on move.
Fields§
§residuals: Vec<Scalar>§jacobian: BTreeMap<String, Vec<Vec<Scalar>>>For each state the residuals depend on, one row per residual: its
derivative by that state’s step (see
geop_core_math::solvers::system::Variable::retract), as many
numbers as the state’s dimension.
bound: BoundImplementations§
Trait Implementations§
Source§impl Clone for Constraint
impl Clone for Constraint
Source§fn clone(&self) -> Constraint
fn clone(&self) -> Constraint
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 moreSource§impl Debug for Constraint
impl Debug for Constraint
Source§impl PartialEq for Constraint
impl PartialEq for Constraint
impl StructuralPartialEq for Constraint
Auto Trait Implementations§
impl Freeze for Constraint
impl RefUnwindSafe for Constraint
impl Send for Constraint
impl Sync for Constraint
impl Unpin for Constraint
impl UnsafeUnpin for Constraint
impl UnwindSafe for Constraint
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