Fortran version of a 3D rotations conversion library. Based on marcdegraef/3Drotations.
- Unit quaternion
- Euler angles (Bunge convention)
- Rotation matrix
- Axis angle representation
- Rodrigues-Frank vector
- Homochoric vector
- Cubochoric vector
export FC=gfortran # or ifort or pgfortran
mkdir build
cd build
cmake .. -DCMAKE_Fortran_COMPILER=$FC
make
./src/test_rotations
- Fortran compiler
- GNU, version 8.0 or newer (
gfortran
) - Intel, version 18.0 or newer (
ifort
) - PGI, not tested (
pgfortran
)
- GNU, version 8.0 or newer (
- cmake, version 3.10 or newer
- LAPACK library in standard location
- The tests for Euler angles fail, but this is because comparing Euler angles is difficult.
- Some functions have no unit tests.