![]() |
pairinteraction
A Rydberg Interaction Calculator
|
Functions | |
template<typename Real > | |
Eigen::Matrix3< Real > | get_rotation_matrix (std::array< Real, 3 > to_z_axis, std::array< Real, 3 > to_y_axis) |
Build a matrix that rotates the coordinate system to the new z-axis and y-axis. More... | |
template<typename Real > | |
std::array< Real, 3 > | get_euler_angles (std::array< Real, 3 > to_z_axis, std::array< Real, 3 > to_y_axis) |
Extract the Euler angles alpha, beta, gamma. More... | |
|
inline |
Extract the Euler angles alpha, beta, gamma.
@function get_euler_angles
Real | The type of a real number. |
to_z_axis | The new z-axis. |
to_y_axis | The new y-axis. |
Definition at line 61 of file euler.hpp.
References get_rotation_matrix().
Referenced by pairinteraction::TransformationBuilderInterface< Scalar >::get_rotator().
|
inline |
Build a matrix that rotates the coordinate system to the new z-axis and y-axis.
@function get_rotation_matrix
Real | The type of a real number. |
to_z_axis | The new z-axis. |
to_y_axis | The new y-axis. |
Definition at line 29 of file euler.hpp.
Referenced by get_euler_angles().