geomc 1.0
A c++ linear algebra template library
Classes | Functions
std Namespace Reference

Functions to extend support of stdlib to geomc classes. More...

Classes

struct  common_type< geom::Dual< T, P >, U >
 
struct  conditional
 
struct  conditional< false, T, F >
 
struct  conditional< true, T, F >
 

Functions

template<typename T >
geom::Quat< T > exp (const geom::Quat< T > &q)
 Quaternion exponential. Represents a rotation about q.imag() by angle |q| and a scaling by eq.real().
 
template<typename T >
geom::Quat< T > log (const geom::Quat< T > &q)
 Quaternion natural log.
 
template<typename T , typename U >
geom::Quat< T > pow (const geom::Quat< T > &q, U a)
 Quaternion power. Raise q to the (real) power of a.
 
template<typename T >
geom::Quat< T > conj (const geom::Quat< T > &q)
 Quaternion complex conjugate. Negate the vector part of q.
 

Detailed Description

Functions to extend support of stdlib to geomc classes.