TiledArray::detail::ComplexConjugate< S > Class Template Reference

Documentation

template<typename S>
class TiledArray::detail::ComplexConjugate< S >

ComplexConjugate represents a complex-conjugated value of type S. It is used to implement the group generated by negation (multiplication by -1) and complex conjugation operators.

Definition at line 116 of file complex.h.

Public Member Functions

 ComplexConjugate (const S factor)
 
TILEDARRAY_FORCE_INLINE S factor () const
 
TILEDARRAY_FORCE_INLINE ComplexConjugate< S > operator- () const
 
bool operator== (const ComplexConjugate< S > &other) const
 

Friends

std::ostream & operator<< (std::ostream &os, const ComplexConjugate< S > &cc)
 

Constructor & Destructor Documentation

◆ ComplexConjugate()

template<typename S >
TiledArray::detail::ComplexConjugate< S >::ComplexConjugate ( const S  factor)
inline

Definition at line 120 of file complex.h.

Member Function Documentation

◆ factor()

template<typename S >
TILEDARRAY_FORCE_INLINE S TiledArray::detail::ComplexConjugate< S >::factor ( ) const
inline

Definition at line 122 of file complex.h.

Here is the caller graph for this function:

◆ operator-()

template<typename S >
TILEDARRAY_FORCE_INLINE ComplexConjugate<S> TiledArray::detail::ComplexConjugate< S >::operator- ( ) const
inline

Definition at line 124 of file complex.h.

◆ operator==()

template<typename S >
bool TiledArray::detail::ComplexConjugate< S >::operator== ( const ComplexConjugate< S > &  other) const
inline

Definition at line 134 of file complex.h.

Here is the call graph for this function:

Friends And Related Function Documentation

◆ operator<<

template<typename S >
std::ostream& operator<< ( std::ostream &  os,
const ComplexConjugate< S > &  cc 
)
friend

Definition at line 128 of file complex.h.


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