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

#include <JacobiRotatable.hpp>

Inheritance diagram for GQCP::JacobiRotatable< T >:
Inheritance graph
Collaboration diagram for GQCP::JacobiRotatable< T >:
Collaboration graph

Public Types

using JacobiRotationType = typename JacobiRotatableTraits< T >::JacobiRotationType
 

Public Member Functions

virtual T rotated (const JacobiRotationType &jacobi_rotation) const =0
 
void rotate (const JacobiRotationType &jacobi_rotation)
 

Detailed Description

template<typename T>
class GQCP::JacobiRotatable< T >

An (abstract) interface for types that may be transformed from one orbital basis to another, using a Jacobi rotation.

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

Member Typedef Documentation

◆ JacobiRotationType

template<typename T >
using GQCP::JacobiRotatable< T >::JacobiRotationType = typename JacobiRotatableTraits<T>::JacobiRotationType

Member Function Documentation

◆ rotate()

template<typename T >
void GQCP::JacobiRotatable< T >::rotate ( const JacobiRotationType jacobi_rotation)
inline

In-place apply the Jacobi rotation.

Parameters
jacobi_rotationThe Jacobi rotation.

◆ rotated()

template<typename T >
virtual T GQCP::JacobiRotatable< T >::rotated ( const JacobiRotationType jacobi_rotation) const
pure virtual

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