pub struct GradedBettiTable { /* private fields */ }Expand description
Canonical exact multigraded Betti numbers beta_(i,a).
Internal degrees are the negatives of Noether’s free-module shifts: a
summand R(-a) contributes one to beta_(i,a).
Implementations§
Source§impl GradedBettiTable
impl GradedBettiTable
Sourcepub fn grading(&self) -> &FreeAbelianGrading
pub fn grading(&self) -> &FreeAbelianGrading
Exact polynomial-ring grading.
Sourcepub fn completeness(&self) -> &ResolutionCompleteness
pub fn completeness(&self) -> &ResolutionCompleteness
Exact completeness or truncation claim inherited from the resolution.
Sourcepub fn entries(&self) -> &[(usize, Degree, usize)]
pub fn entries(&self) -> &[(usize, Degree, usize)]
Canonical nonzero (homological degree, internal degree, multiplicity)
entries.
Sourcepub fn get(&self, homological_degree: usize, internal_degree: &Degree) -> usize
pub fn get(&self, homological_degree: usize, internal_degree: &Degree) -> usize
One exact multigraded Betti number.
Sourcepub fn total(&self, homological_degree: usize) -> usize
pub fn total(&self, homological_degree: usize) -> usize
Total rank in one represented homological degree.
Sourcepub fn projective_dimension(&self) -> Option<usize>
pub fn projective_dimension(&self) -> Option<usize>
Projective dimension when the resolution is proved complete.
Sourcepub fn verify(&self) -> Result<(), GradedBettiTableError>
pub fn verify(&self) -> Result<(), GradedBettiTableError>
Independently recheck all canonical sparse-table invariants.
Sourcepub fn to_json(&self) -> Result<String, NoetherError>
pub fn to_json(&self) -> Result<String, NoetherError>
Serialize the complete exact table as typed JSON.
Sourcepub fn from_json(value: &str) -> Result<Self, NoetherError>
pub fn from_json(value: &str) -> Result<Self, NoetherError>
Deserialize and independently revalidate an exact table.
Trait Implementations§
Source§impl Clone for GradedBettiTable
impl Clone for GradedBettiTable
Source§fn clone(&self) -> GradedBettiTable
fn clone(&self) -> GradedBettiTable
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for GradedBettiTable
impl Debug for GradedBettiTable
Source§impl<'de> Deserialize<'de> for GradedBettiTable
impl<'de> Deserialize<'de> for GradedBettiTable
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>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for GradedBettiTable
impl Display for GradedBettiTable
Source§impl PartialEq for GradedBettiTable
impl PartialEq for GradedBettiTable
Source§impl SemanticType for GradedBettiTable
impl SemanticType for GradedBettiTable
Source§const TYPE_ID: &'static str = "noether/homalg/GradedBettiTable@1"
const TYPE_ID: &'static str = "noether/homalg/GradedBettiTable@1"
Versioned, language-neutral semantic identity.
Source§fn canonical_bytes(&self) -> Result<Vec<u8>, NoetherError>
fn canonical_bytes(&self) -> Result<Vec<u8>, NoetherError>
Serialize without backend- or language-specific identity.
Source§fn describe() -> &'static TypeDescription
fn describe() -> &'static TypeDescription
Return static discovery metadata for the type.
Source§impl Serialize for GradedBettiTable
impl Serialize for GradedBettiTable
impl Eq for GradedBettiTable
impl StructuralPartialEq for GradedBettiTable
Auto Trait Implementations§
impl Freeze for GradedBettiTable
impl RefUnwindSafe for GradedBettiTable
impl Send for GradedBettiTable
impl Sync for GradedBettiTable
impl Unpin for GradedBettiTable
impl UnwindSafe for GradedBettiTable
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