pairinteraction
A Rydberg Interaction Calculator
euler.hpp File Reference
#include "pairinteraction/utils/eigen_assertion.hpp"
#include "pairinteraction/utils/eigen_compat.hpp"
#include <Eigen/Dense>
#include <array>
#include <type_traits>
+ Include dependency graph for euler.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  pairinteraction
 
namespace  pairinteraction::euler
 

Functions

template<typename Real >
Eigen::Matrix3< Real > pairinteraction::euler::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 > pairinteraction::euler::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...