GQCP
|
#include <SpinResolved.hpp>
Public Types | |
using | Of = _Of |
using | ComponentType = Of |
![]() | |
using | Of = _Of |
using | Derived = SpinResolved< _Of > |
using | Self = SpinResolvedBase< Of, Derived > |
Public Member Functions | |
bool | operator== (const SpinResolved< Of > &other) |
bool | operator!= (const SpinResolved< Of > &other) |
![]() | |
SpinResolvedBase (const Of &alpha, const Of &beta) | |
SpinResolvedBase (const std::vector< Of > &both) | |
SpinResolvedBase (const std::array< Of, 2 > &both) | |
SpinResolvedBase (const std::initializer_list< Of > &both) | |
const Of & | alpha () const |
Of & | alpha () |
const Of & | beta () const |
Of & | beta () |
const Of & | component (const Spin sigma) const |
Of & | component (const Spin sigma) |
Additional Inherited Members | |
![]() | |
static Derived | FromEqual (const Of &equal) |
A utility type encapsulating an alpha- and beta-type. In contrast to SpinResolvedBase
, this class is used as an instantiatable type, much like you would use a std::vector<_Of>.
_Of | The type of the alpha- and beta-objects. The name 'Of' is chosen for a natural reading SpinResolved<_Of> . |
using GQCP::SpinResolved< _Of >::ComponentType = Of |
using GQCP::SpinResolved< _Of >::Of = _Of |
|
inline |
other | the other encapsulation |
|
inline |
other | the other encapsulation |