#include <JacobiRotation.hpp>
A type that encapsulates the parameters that define a real-valued Jacobi rotation.
◆ JacobiRotation() [1/2]
GQCP::JacobiRotation::JacobiRotation |
( |
const size_t |
p, |
|
|
const size_t |
q, |
|
|
const double |
angle |
|
) |
| |
- Parameters
-
p | The index of the first rotated orbital. (p > q) |
q | The index of the second rotated orbital. (p > q) |
angle | The angle of rotation, in radians. |
◆ JacobiRotation() [2/2]
GQCP::JacobiRotation::JacobiRotation |
( |
| ) |
|
◆ angle()
double GQCP::JacobiRotation::angle |
( |
| ) |
const |
|
inline |
- Returns
- The angle of rotation, in radians
◆ Eigen()
Eigen::JacobiRotation< double > GQCP::JacobiRotation::Eigen |
( |
| ) |
const |
|
inline |
- Returns
- This as an Eigen::JacobiRotation.
◆ p()
size_t GQCP::JacobiRotation::p |
( |
| ) |
const |
|
inline |
- Returns
- The index of the first rotated orbital. (p > q)
◆ q()
size_t GQCP::JacobiRotation::q |
( |
| ) |
const |
|
inline |
- Returns
- The index of the second rotated orbital. (p > q)
◆ operator<<
std::ostream & operator<< |
( |
std::ostream & |
os, |
|
|
const JacobiRotation & |
jacobi_rotation |
|
) |
| |
|
friend |
- Parameters
-
os | The output stream which the parameters should be concatenated to. |
jacobi_rotation | The Jacobi rotation. |
- Returns
- A reference to the updated output stream.
The documentation for this class was generated from the following files: