GQCP
Loading...
Searching...
No Matches
Public Types | Public Member Functions | List of all members
GQCP::BasisTransformable< Type > Class Template Referenceabstract

#include <BasisTransformable.hpp>

Inheritance diagram for GQCP::BasisTransformable< Type >:
Inheritance graph
Collaboration diagram for GQCP::BasisTransformable< Type >:
Collaboration graph

Public Types

using Transformation = typename BasisTransformableTraits< Type >::Transformation
 

Public Member Functions

virtual Type transformed (const Transformation &T) const =0
 
virtual void transform (const Transformation &T)
 
virtual Type rotated (const Transformation &U) const
 
void rotate (const Transformation &U)
 

Detailed Description

template<typename Type>
class GQCP::BasisTransformable< Type >

An (abstract) interface for types that may be transformed from one orbital basis to another.

Parameters
TypeThe type that should be basis-transformable. It is given as a template argument, enabling CRTP.

Member Typedef Documentation

◆ Transformation

template<typename Type >
using GQCP::BasisTransformable< Type >::Transformation = typename BasisTransformableTraits<Type>::Transformation

Member Function Documentation

◆ rotate()

template<typename Type >
void GQCP::BasisTransformable< Type >::rotate ( const Transformation U)
inline

In-place apply the basis rotation.

Parameters
UThe basis rotation.

◆ rotated()

template<typename Type >
virtual Type GQCP::BasisTransformable< Type >::rotated ( const Transformation U) const
inlinevirtual

Apply the basis rotation and return the result.

Parameters
UThe basis rotation.
Returns
The basis-rotated object.

◆ transform()

template<typename Type >
virtual void GQCP::BasisTransformable< Type >::transform ( const Transformation T)
inlinevirtual

In-place apply the basis transformation.

Parameters
TThe basis transformation.

◆ transformed()

template<typename Type >
virtual Type GQCP::BasisTransformable< Type >::transformed ( const Transformation T) const
pure virtual

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