pub struct FixedPoint {
pub subset: Vec<usize>,
pub grassmannian: (usize, usize),
}Expand description
A torus-fixed point in Gr(k, n): a k-element subset of {0, …, n-1}.
The fixed point e_I corresponds to the coordinate k-plane spanned by {e_i : i ∈ I}.
Fields§
§subset: Vec<usize>The k-element subset I ⊂ {0, …, n-1}
grassmannian: (usize, usize)Grassmannian parameters
Implementations§
Source§impl FixedPoint
impl FixedPoint
Sourcepub fn new(
subset: Vec<usize>,
grassmannian: (usize, usize),
) -> EnumerativeResult<Self>
pub fn new( subset: Vec<usize>, grassmannian: (usize, usize), ) -> EnumerativeResult<Self>
Create a fixed point from a k-element subset.
§Contract
requires: subset.len() == k
requires: forall i in subset. i < nSourcepub fn tangent_euler_class(&self, weights: &TorusWeights) -> Rational64
pub fn tangent_euler_class(&self, weights: &TorusWeights) -> Rational64
Compute the equivariant Euler class of the tangent space at this fixed point.
e_T(T_{e_I} Gr) = ∏_{i ∈ I, j ∉ I} (t_j - t_i)§Contract
ensures: result != 0 (when weights are distinct)Sourcepub fn to_partition(&self) -> Vec<usize>
pub fn to_partition(&self) -> Vec<usize>
Compute the Schubert partition associated with this fixed point.
For I = {i_0 < … < i_{k-1}}, the partition is λ_a = i_a - a.
Trait Implementations§
Source§impl Clone for FixedPoint
impl Clone for FixedPoint
Source§fn clone(&self) -> FixedPoint
fn clone(&self) -> FixedPoint
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 FixedPoint
impl Debug for FixedPoint
Source§impl PartialEq for FixedPoint
impl PartialEq for FixedPoint
impl Eq for FixedPoint
impl StructuralPartialEq for FixedPoint
Auto Trait Implementations§
impl Freeze for FixedPoint
impl RefUnwindSafe for FixedPoint
impl Send for FixedPoint
impl Sync for FixedPoint
impl Unpin for FixedPoint
impl UnsafeUnpin for FixedPoint
impl UnwindSafe for FixedPoint
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