pub struct PrimaryDecomposition<R: Field> { /* private fields */ }Expand description
Complete verified primary decomposition of an admitted polynomial ideal.
Components have distinct associated primes, are in canonical prime order,
and intersect exactly to source. Embedded associated primes are retained.
Implementations§
Source§impl<R: Field> PrimaryDecomposition<R>
impl<R: Field> PrimaryDecomposition<R>
Sourcepub fn source(&self) -> &Ideal<PolynomialRing<R>>
pub fn source(&self) -> &Ideal<PolynomialRing<R>>
Original ideal reconstructed by the primary components.
Sourcepub fn components(&self) -> &[Ideal<PolynomialRing<R>>]
pub fn components(&self) -> &[Ideal<PolynomialRing<R>>]
Canonically ordered primary component ideals.
Sourcepub fn certificates(&self) -> &[PolynomialPrimaryCertificate<R>]
pub fn certificates(&self) -> &[PolynomialPrimaryCertificate<R>]
Complete primary evidence in component order.
Sourcepub fn associated_primes(&self) -> Vec<&PolynomialPrimeCertificate<R>>
pub fn associated_primes(&self) -> Vec<&PolynomialPrimeCertificate<R>>
Associated primes, including embedded primes, in component order.
Source§impl PrimaryDecomposition<RationalField>
impl PrimaryDecomposition<RationalField>
Sourcepub fn verify(&self) -> Result<(), DecompositionError>
pub fn verify(&self) -> Result<(), DecompositionError>
Independently recheck every primary claim and the exact intersection.
Sourcepub fn from_json(value: &str) -> Result<Self, NoetherError>
pub fn from_json(value: &str) -> Result<Self, NoetherError>
Deserialize and exactly reverify a complete primary decomposition.
Source§impl PrimaryDecomposition<FiniteField>
impl PrimaryDecomposition<FiniteField>
Sourcepub fn verify(&self) -> Result<(), DecompositionError>
pub fn verify(&self) -> Result<(), DecompositionError>
Independently recheck every primary claim and the exact intersection.
Sourcepub fn from_json(value: &str) -> Result<Self, NoetherError>
pub fn from_json(value: &str) -> Result<Self, NoetherError>
Deserialize and exactly reverify a complete primary decomposition.
Source§impl<R> PrimaryDecomposition<R>
impl<R> PrimaryDecomposition<R>
Sourcepub fn to_json(&self) -> Result<String, NoetherError>
pub fn to_json(&self) -> Result<String, NoetherError>
Serialize the source and complete primary evidence.
Trait Implementations§
Source§impl<R: Clone + Field> Clone for PrimaryDecomposition<R>
impl<R: Clone + Field> Clone for PrimaryDecomposition<R>
Source§fn clone(&self) -> PrimaryDecomposition<R>
fn clone(&self) -> PrimaryDecomposition<R>
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl<R: Field> Debug for PrimaryDecomposition<R>
impl<R: Field> Debug for PrimaryDecomposition<R>
Source§impl<'de> Deserialize<'de> for PrimaryDecomposition<FiniteField>
impl<'de> Deserialize<'de> for PrimaryDecomposition<FiniteField>
Source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Source§impl<'de> Deserialize<'de> for PrimaryDecomposition<RationalField>
impl<'de> Deserialize<'de> for PrimaryDecomposition<RationalField>
Source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Source§impl<R: Field> Display for PrimaryDecomposition<R>
impl<R: Field> Display for PrimaryDecomposition<R>
Source§impl<R> SemanticType for PrimaryDecomposition<R>
impl<R> SemanticType for PrimaryDecomposition<R>
Source§const TYPE_ID: &'static str = "noether/commalg/PrimaryDecomposition@1"
const TYPE_ID: &'static str = "noether/commalg/PrimaryDecomposition@1"
Source§fn canonical_bytes(&self) -> Result<Vec<u8>, NoetherError>
fn canonical_bytes(&self) -> Result<Vec<u8>, NoetherError>
Source§fn describe() -> &'static TypeDescription
fn describe() -> &'static TypeDescription
Source§impl<R> Serialize for PrimaryDecomposition<R>
impl<R> Serialize for PrimaryDecomposition<R>
impl<R: Eq + Field> Eq for PrimaryDecomposition<R>
impl<R: Field> StructuralPartialEq for PrimaryDecomposition<R>
Auto Trait Implementations§
impl<R> Freeze for PrimaryDecomposition<R>where
R: Freeze,
impl<R> RefUnwindSafe for PrimaryDecomposition<R>
impl<R> Send for PrimaryDecomposition<R>
impl<R> Sync for PrimaryDecomposition<R>
impl<R> Unpin for PrimaryDecomposition<R>where
R: Unpin,
impl<R> UnwindSafe for PrimaryDecomposition<R>
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
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>
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>
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