SIRIUS 7.5.0
Electronic structure library and applications
Namespaces | Functions
rotation.hpp File Reference

Generate rotation matrices and related entities. More...

Go to the source code of this file.

Namespaces

module  sirius
 Namespace of the SIRIUS library.
 

Functions

double sirius::phi_by_sin_cos (double sinp, double cosp)
 Return angle phi in the range [0, 2Pi) by its values of sin(phi) and cos(phi). More...
 
auto sirius::rotation_matrix_su2 (std::array< double, 3 > u__, double theta__)
 Generate SU(2) rotation matrix from the axes and angle. More...
 
auto sirius::rotation_matrix_su2 (r3::matrix< double > R__)
 Generate SU2(2) rotation matrix from a 3x3 rotation matrix in Cartesian coordinates. More...
 
auto sirius::axis_angle (r3::matrix< double > R__)
 Get axis and angle from rotation matrix. More...
 
auto sirius::rot_mtrx_cart (r3::vector< double > euler_angles__)
 Generate rotation matrix from three Euler angles. More...
 
auto sirius::euler_angles (r3::matrix< double > const &rot__, double tolerance__)
 Compute Euler angles corresponding to the proper rotation matrix. More...
 

Detailed Description

Generate rotation matrices and related entities.

Definition in file rotation.hpp.