pub struct ModuliSpace {
pub genus: usize,
pub marked_points: usize,
pub stable: bool,
}Expand description
Moduli space of curves M_{g,n}
Fields§
§genus: usizeGenus of the curves
marked_points: usizeNumber of marked points
stable: boolWhether to consider stable curves (compactified moduli space)
Implementations§
Source§impl ModuliSpace
impl ModuliSpace
Sourcepub fn new(
genus: usize,
marked_points: usize,
stable: bool,
) -> EnumerativeResult<Self>
pub fn new( genus: usize, marked_points: usize, stable: bool, ) -> EnumerativeResult<Self>
Create a new moduli space M_{g,n}
Sourcepub fn is_nonempty(&self) -> bool
pub fn is_nonempty(&self) -> bool
Check if the moduli space is non-empty
Sourcepub fn intersection_number(
&self,
classes: &[TautologicalClass],
) -> EnumerativeResult<Rational64>
pub fn intersection_number( &self, classes: &[TautologicalClass], ) -> EnumerativeResult<Rational64>
Compute intersection numbers on the moduli space
Trait Implementations§
Source§impl Clone for ModuliSpace
impl Clone for ModuliSpace
Source§fn clone(&self) -> ModuliSpace
fn clone(&self) -> ModuliSpace
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 moreAuto Trait Implementations§
impl Freeze for ModuliSpace
impl RefUnwindSafe for ModuliSpace
impl Send for ModuliSpace
impl Sync for ModuliSpace
impl Unpin for ModuliSpace
impl UnwindSafe for ModuliSpace
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