Line data Source code
1 1 : // Distributed under the MIT License. 2 : // See LICENSE.txt for details. 3 : 4 : /// \file 5 : /// Defines rotation matrices using quaternions. 6 : 7 : #pragma once 8 : 9 : #include <array> 10 : #include <cstddef> 11 : 12 : #include "DataStructures/Matrix.hpp" 13 : 14 : /// \cond 15 : namespace domain { 16 : namespace FunctionsOfTime { 17 : class FunctionOfTime; 18 : } // namespace FunctionsOfTime 19 : } // namespace domain 20 : /// \endcond 21 : 22 : template <size_t Dim> 23 0 : Matrix rotation_matrix(double t, 24 : const domain::FunctionsOfTime::FunctionOfTime& fot); 25 : 26 : template <size_t Dim> 27 0 : Matrix rotation_matrix_deriv( 28 : double t, const domain::FunctionsOfTime::FunctionOfTime& fot);