pub struct ChowClass {
pub dimension: usize,
pub degree: Rational64,
pub invariants: HashMap<String, Rational64>,
}Expand description
Represents a Chow class in the intersection ring
Fields§
§dimension: usizeDimension of the class (codimension in the ambient space)
degree: Rational64Degree of the class
invariants: HashMap<String, Rational64>Additional numerical invariants
Implementations§
Source§impl ChowClass
impl ChowClass
Sourcepub fn new(dimension: usize, degree: Rational64) -> Self
pub fn new(dimension: usize, degree: Rational64) -> Self
Create a new Chow class
Sourcepub fn hypersurface(degree: i64) -> Self
pub fn hypersurface(degree: i64) -> Self
Create a hypersurface class of given degree
Sourcepub fn linear_subspace(codimension: usize) -> Self
pub fn linear_subspace(codimension: usize) -> Self
Create a linear subspace class
Sourcepub fn plane_curve(degree: i64) -> Self
pub fn plane_curve(degree: i64) -> Self
Create a plane curve class
Sourcepub fn arithmetic_genus(&self) -> i64
pub fn arithmetic_genus(&self) -> i64
Compute the arithmetic genus
Sourcepub fn is_zero_in_projective_space(&self, ambient_dim: usize) -> bool
pub fn is_zero_in_projective_space(&self, ambient_dim: usize) -> bool
Check if this class is zero in a specific projective space
Trait Implementations§
impl StructuralPartialEq for ChowClass
Auto Trait Implementations§
impl Freeze for ChowClass
impl RefUnwindSafe for ChowClass
impl Send for ChowClass
impl Sync for ChowClass
impl Unpin for ChowClass
impl UnwindSafe for ChowClass
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