pub struct IntCone { /* private fields */ }Expand description
Integer cone operations.
Implementations§
Source§impl IntCone
impl IntCone
Sourcepub fn from_hilbert_basis(generators: Vec<IntVector>) -> Self
pub fn from_hilbert_basis(generators: Vec<IntVector>) -> Self
Create a new integer cone from its Hilbert basis.
Sourcepub fn generators(&self) -> &[IntVector] ⓘ
pub fn generators(&self) -> &[IntVector] ⓘ
Get the generators.
Sourcepub fn contains_int(&self, point: &IntVector) -> bool
pub fn contains_int(&self, point: &IntVector) -> bool
Check if a point is in the integer cone.
Auto Trait Implementations§
impl Freeze for IntCone
impl RefUnwindSafe for IntCone
impl Send for IntCone
impl Sync for IntCone
impl Unpin for IntCone
impl UnsafeUnpin for IntCone
impl UnwindSafe for IntCone
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