Blocks helpers
This page contains the documentation for various helper functions for manipulating blocks.
This page contains the documentation for the blocks subpackage, that
contains helper functions for the Blocks class.
- blocks.underlying_partition(x: Blocks) list[list[int]]
- Return the underlying partition of a - Blocksobject. The underlying partition of a- Blocksobject x is the partition of a subset \(P\) of \(\{-n, \ldots, -1\}\cup \{1, \ldots, n\}\) such that:- \(\{|y|\mid y\in P\} = \{1, \ldots, n\}\); 
- a block of the partition consists of negative numbers if and only if the corresponding block of x is a transverse block.