pub struct FinExtYoungShape {
pub parts: Vec<usize>,
}Expand description
Young tableau shape: a partition of n stored as a non-increasing sequence.
Fields§
§parts: Vec<usize>The partition: parts[i] is the length of the i-th row.
Implementations§
Source§impl FinExtYoungShape
impl FinExtYoungShape
Sourcepub fn new(parts: Vec<usize>) -> Option<Self>
pub fn new(parts: Vec<usize>) -> Option<Self>
Create a Young shape from a partition (must be non-increasing).
Sourcepub fn is_valid(&self) -> bool
pub fn is_valid(&self) -> bool
Check if this shape is a valid Young diagram (non-increasing rows).
Sourcepub fn hook_length_count(&self) -> u64
pub fn hook_length_count(&self) -> u64
Count standard Young tableaux using the hook length formula.
Trait Implementations§
Source§impl Clone for FinExtYoungShape
impl Clone for FinExtYoungShape
Source§fn clone(&self) -> FinExtYoungShape
fn clone(&self) -> FinExtYoungShape
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 FinExtYoungShape
impl Debug for FinExtYoungShape
Source§impl PartialEq for FinExtYoungShape
impl PartialEq for FinExtYoungShape
impl Eq for FinExtYoungShape
impl StructuralPartialEq for FinExtYoungShape
Auto Trait Implementations§
impl Freeze for FinExtYoungShape
impl RefUnwindSafe for FinExtYoungShape
impl Send for FinExtYoungShape
impl Sync for FinExtYoungShape
impl Unpin for FinExtYoungShape
impl UnsafeUnpin for FinExtYoungShape
impl UnwindSafe for FinExtYoungShape
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