Struct optimization_engine::constraints::Ball2
source · pub struct Ball2<'a> { /* private fields */ }
Expand description
A Euclidean ball, that is, a set given by $B_2^r = \{x \in \mathbb{R}^n {}:{} \Vert{}x{}\Vert \leq r\}$ or a Euclidean ball centered at a point $x_c$, that is, $B_2^{x_c, r} = \{x \in \mathbb{R}^n {}:{} \Vert{}x-x_c{}\Vert \leq r\}$
Implementations§
Trait Implementations§
source§impl<'a> Constraint for Ball2<'a>
impl<'a> Constraint for Ball2<'a>
impl<'a> Copy for Ball2<'a>
Auto Trait Implementations§
impl<'a> Freeze for Ball2<'a>
impl<'a> RefUnwindSafe for Ball2<'a>
impl<'a> Send for Ball2<'a>
impl<'a> Sync for Ball2<'a>
impl<'a> Unpin for Ball2<'a>
impl<'a> UnwindSafe for Ball2<'a>
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