|
| auto | base () const &noexcept -> base_space_type const & |
| | Return the underlying primal-basis space.
|
| |
| auto | begin () const |
| | Return an iterator which dualizes each observed basis occurrence.
|
| |
| auto | contains (QNum q) const -> bool |
| | Return whether the exposed dual basis contains an irrep.
|
| |
| | Dual (base_space_type space) |
| | Construct a dual adaptor from its primal-basis value.
|
| |
| auto | empty () const -> bool |
| | Forward whether the underlying space is empty.
|
| |
| auto | end () const |
| | Return the end iterator for dualized basis occurrences.
|
| |
| auto | extent () const -> std::size_t |
| | Forward a symmetry-neutral dense extent.
|
| |
| auto | label () const -> std::string const & |
| | Return the semantic leg label.
|
| |
| auto | operator== (Dual const &other) const -> bool=default |
| | Compare explicit dual-basis space values.
|
| |
| auto | operator[] (std::size_t index) const |
| | Return one dualized basis occurrence without changing its index.
|
| |
| auto | qnum () const -> QNum |
| | Return the dual of a fixed irrep label.
|
| |
| auto | qnums () const |
| | Return a lazy range of dualized local-state quantum numbers.
|
| |
| auto | release_base () &&-> base_space_type |
| | Transfer the underlying primal-basis value out of this adaptor.
|
| |
| auto | sectors () const |
| | Return a lazy range of dualized block sectors.
|
| |
| void | set_label (std::string label) |
| | Replace the semantic leg label without changing the basis.
|
| |
| auto | size () const -> std::size_t |
| | Forward the number of structural basis occurrences.
|
| |
| auto | symmetry () const -> Symmetry |
| | Return the symmetry shared with the underlying space.
|
| |
| auto | total_dim () const -> std::size_t |
| | Forward the total degeneracy dimension.
|
| |
template<class SpaceType>
class uni20::Dual< SpaceType >
Tensor space represented in an explicitly dual basis.
The adaptor preserves the underlying basis occurrence order, dimensions, and label. Quantum-number observations return the categorical dual without rebuilding or canonicalizing the space.
- Template Parameters
-
| SpaceType | Adapted concrete space type. |