pub struct Sphere {}Expand description
This is the Sphere function.
The function is borrowed from here. Although the function accepts a vector with an arbitrary number of inputs, this is what it looks like in 2D:
![]()
Trait Implementations§
Source§impl NDimensional for Sphere
impl NDimensional for Sphere
Source§impl SingleObjective for Sphere
impl SingleObjective for Sphere
Source§impl UnConstrained for Sphere
impl UnConstrained for Sphere
Source§const CONSTRAINED: bool = false
const CONSTRAINED: bool = false
This trait indicates that the function is unconstrained
Auto Trait Implementations§
impl Freeze for Sphere
impl RefUnwindSafe for Sphere
impl Send for Sphere
impl Sync for Sphere
impl Unpin for Sphere
impl UnsafeUnpin for Sphere
impl UnwindSafe for Sphere
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