pub enum SPoly {
Standard(usize, usize),
Nilpotent(usize, usize),
}Available on crate feature
unstable-enable only.Expand description
§Availability
This API is marked as unstable and is only available when the unstable-enable crate feature is enabled. This comes with no stability guarantees, and could be changed or removed at any time.
Variants§
Implementations§
Source§impl SPoly
impl SPoly
Sourcepub fn lcm_term<P, O>(
&self,
ring: P,
basis: &[El<P>],
order: O,
) -> (PolyCoeff<P>, PolyMonomial<P>)where
P: RingStore + Copy,
P::Type: MultivariatePolyRing,
<<P::Type as RingExtension>::BaseRing as RingStore>::Type: PrincipalLocalRing,
O: MonomialOrder + Copy,
pub fn lcm_term<P, O>(
&self,
ring: P,
basis: &[El<P>],
order: O,
) -> (PolyCoeff<P>, PolyMonomial<P>)where
P: RingStore + Copy,
P::Type: MultivariatePolyRing,
<<P::Type as RingExtension>::BaseRing as RingStore>::Type: PrincipalLocalRing,
O: MonomialOrder + Copy,
§Availability
This API is marked as unstable and is only available when the unstable-enable crate feature is enabled. This comes with no stability guarantees, and could be changed or removed at any time.
Sourcepub fn poly<P, O>(&self, ring: P, basis: &[El<P>], order: O) -> El<P>where
P: RingStore + Copy,
P::Type: MultivariatePolyRing,
<<P::Type as RingExtension>::BaseRing as RingStore>::Type: PrincipalLocalRing,
O: MonomialOrder + Copy,
pub fn poly<P, O>(&self, ring: P, basis: &[El<P>], order: O) -> El<P>where
P: RingStore + Copy,
P::Type: MultivariatePolyRing,
<<P::Type as RingExtension>::BaseRing as RingStore>::Type: PrincipalLocalRing,
O: MonomialOrder + Copy,
§Availability
This API is marked as unstable and is only available when the unstable-enable crate feature is enabled. This comes with no stability guarantees, and could be changed or removed at any time.
Trait Implementations§
impl Eq for SPoly
impl StructuralPartialEq for SPoly
Auto Trait Implementations§
impl Freeze for SPoly
impl RefUnwindSafe for SPoly
impl Send for SPoly
impl Sync for SPoly
impl Unpin for SPoly
impl UnsafeUnpin for SPoly
impl UnwindSafe for SPoly
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more