Uni20
Asynchronous tensor and runtime library.
Loading...
Searching...
No Matches
Public Member Functions | List of all members
std::hash< uni20::U1 > Struct Reference

#include <u1.hpp>

Public Member Functions

auto operator() (uni20::U1 const &value) const noexcept -> std::size_t
 Hash a U(1) irrep by its stored half-integer charge.
 

Member Function Documentation

◆ operator()()

auto std::hash< uni20::U1 >::operator() ( uni20::U1 const &  value) const -> std::size_t
inlinenoexcept

Hash a U(1) irrep by its stored half-integer charge.

Parameters
valueU(1) irrep to hash.
Returns
Hash of the stored charge.

The documentation for this struct was generated from the following file: