pub struct HirzebruchRiemannRochResult { /* private fields */ }Expand description
Exact HRR output with an independently computed Koszul witness.
Implementations§
Source§impl HirzebruchRiemannRochResult
impl HirzebruchRiemannRochResult
Sourcepub fn complete_intersection(&self) -> &ProjectiveCompleteIntersection
pub fn complete_intersection(&self) -> &ProjectiveCompleteIntersection
Complete-intersection input.
Sourcepub fn line_bundle_multidegree(&self) -> &[i64]
pub fn line_bundle_multidegree(&self) -> &[i64]
Multidegree of the line bundle.
Sourcepub fn hrr_integral(&self) -> &Rational
pub fn hrr_integral(&self) -> &Rational
Exact rational HRR integral before its integrality check.
Sourcepub fn koszul_value(&self) -> &Integer
pub fn koszul_value(&self) -> &Integer
Independent Koszul inclusion–exclusion value.
Sourcepub fn validity(&self) -> MathematicalValidity
pub fn validity(&self) -> MathematicalValidity
Logical validity inherited from the complete-intersection hypothesis.
Sourcepub fn verify(&self) -> Result<(), IntersectionTheoryError>
pub fn verify(&self) -> Result<(), IntersectionTheoryError>
Replay HRR and Koszul calculations from retained inputs.
Sourcepub fn to_json(&self) -> Result<String, NoetherError>
pub fn to_json(&self) -> Result<String, NoetherError>
Serialize this result to canonical typed JSON.
Sourcepub fn from_json(value: &str) -> Result<Self, NoetherError>
pub fn from_json(value: &str) -> Result<Self, NoetherError>
Deserialize and verify a canonical HRR result.
Trait Implementations§
Source§impl Clone for HirzebruchRiemannRochResult
impl Clone for HirzebruchRiemannRochResult
Source§fn clone(&self) -> HirzebruchRiemannRochResult
fn clone(&self) -> HirzebruchRiemannRochResult
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 HirzebruchRiemannRochResult
impl Debug for HirzebruchRiemannRochResult
Source§impl<'de> Deserialize<'de> for HirzebruchRiemannRochResult
impl<'de> Deserialize<'de> for HirzebruchRiemannRochResult
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 SemanticType for HirzebruchRiemannRochResult
impl SemanticType for HirzebruchRiemannRochResult
Source§const TYPE_ID: &'static str = "noether/commalg/HirzebruchRiemannRochResult@1"
const TYPE_ID: &'static str = "noether/commalg/HirzebruchRiemannRochResult@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.
impl Eq for HirzebruchRiemannRochResult
impl StructuralPartialEq for HirzebruchRiemannRochResult
Auto Trait Implementations§
impl Freeze for HirzebruchRiemannRochResult
impl RefUnwindSafe for HirzebruchRiemannRochResult
impl Send for HirzebruchRiemannRochResult
impl Sync for HirzebruchRiemannRochResult
impl Unpin for HirzebruchRiemannRochResult
impl UnwindSafe for HirzebruchRiemannRochResult
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