MiniTensor Version of the Day
Loading...
Searching...
No Matches
MiniTensor_Quaternion.h File Reference

Go to the source code of this file.

Classes

class  minitensor::Quaternion< T >
 

Namespaces

namespace  minitensor
 

Functions

template<typename T >
KOKKOS_INLINE_FUNCTION Quaternion< T > minitensor::operator* (Quaternion< T > const &p, Quaternion< T > const &q)
 
template<typename T >
KOKKOS_INLINE_FUNCTION bool minitensor::operator== (Quaternion< T > const &p, Quaternion< T > const &q)
 
template<typename T >
KOKKOS_INLINE_FUNCTION bool minitensor::operator!= (Quaternion< T > const &p, Quaternion< T > const &q)
 
template<typename T >
KOKKOS_INLINE_FUNCTION Quaternion< T > minitensor::conjugate (Quaternion< T > const &q)
 
template<typename T >
KOKKOS_INLINE_FUNCTIONminitensor::norm (Quaternion< T > const &q)
 
template<typename T >
KOKKOS_INLINE_FUNCTION Quaternion< T > minitensor::inverse (Quaternion< T > const &q)
 
template<typename T >
KOKKOS_INLINE_FUNCTION Quaternion< T > minitensor::unit (Quaternion< T > const &q)
 
template<typename T >
std::ostream & minitensor::operator<< (std::ostream &os, Quaternion< T > const &q)
 
template<typename T , Index N>
KOKKOS_INLINE_FUNCTION Quaternion< T > minitensor::q_of_rt (Tensor< T, N > const &R)
 
template<typename T >
KOKKOS_INLINE_FUNCTION Vector< T, 3 > minitensor::rv_of_q (Quaternion< T > const &q)
 
template<typename T , Index N>
KOKKOS_INLINE_FUNCTION Quaternion< T > minitensor::q_of_rv (Vector< T, N > const &rv)
 
template<typename T >
KOKKOS_INLINE_FUNCTION Tensor< T, 3 > minitensor::rt_of_q (Quaternion< T > const &q)
 
template<typename T , Index N>
KOKKOS_INLINE_FUNCTION Vector< T, 3 > minitensor::rv_of_rt (Tensor< T, N > const &R)
 
template<typename T , Index N>
KOKKOS_INLINE_FUNCTION Tensor< T, 3 > minitensor::rt_of_rv (Vector< T, N > const &rv)
 
template<typename T , Index N>
KOKKOS_INLINE_FUNCTION Vector< T, N > minitensor::rv_continue (Vector< T, N > const &old, Vector< T, N > const &prev)