#include <math_fwd.hpp>
Public Types | |
typedef T | value_type |
Public Member Functions | |
quaternion (T const &requested_a=T(), T const &requested_b=T(), T const &requested_c=T(), T const &requested_d=T()) | |
quaternion (::std::complex< T > const &z0,::std::complex< T > const &z1=::std::complex< T >()) | |
template<typename X > | |
quaternion (quaternion< X > const &a_recopier) | |
T | real () const |
quaternion< T > | unreal () const |
T | R_component_1 () const |
T | R_component_2 () const |
T | R_component_3 () const |
T | R_component_4 () const |
::std::complex< T > | C_component_1 () const |
::std::complex< T > | C_component_2 () const |
template<typename X > | |
quaternion< T > & | operator= (quaternion< X > const &a_affecter) |
quaternion< T > & | operator= (quaternion< T > const &a_affecter) |
quaternion< T > & | operator= (T const &a_affecter) |
quaternion< T > & | operator= (::std::complex< T > const &a_affecter) |
quaternion< T > & | operator+= (T const &rhs) |
quaternion< T > & | operator+= (::std::complex< T > const &rhs) |
template<typename X > | |
quaternion< T > & | operator+= (quaternion< X > const &rhs) |
quaternion< T > & | operator-= (T const &rhs) |
quaternion< T > & | operator-= (::std::complex< T > const &rhs) |
template<typename X > | |
quaternion< T > & | operator-= (quaternion< X > const &rhs) |
quaternion< T > & | operator*= (T const &rhs) |
quaternion< T > & | operator*= (::std::complex< T > const &rhs) |
template<typename X > | |
quaternion< T > & | operator*= (quaternion< X > const &rhs) |
quaternion< T > & | operator/= (T const &rhs) |
quaternion< T > & | operator/= (::std::complex< T > const &rhs) |
template<typename X > | |
quaternion< T > & | operator/= (quaternion< X > const &rhs) |
Protected Attributes | |
T | a |
T | b |
T | c |
T | d |
typedef T boost::math::quaternion< T >::value_type |
|
inlineexplicit |
|
inlineexplicit |
|
inlineexplicit |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
References boost::math::quaternion< T >::a, boost::xpressive::at, boost::math::quaternion< T >::b, boost::math::quaternion< T >::c, boost::math::quaternion< T >::d, boost::math::quaternion< T >::R_component_1(), boost::math::quaternion< T >::R_component_2(), boost::math::quaternion< T >::R_component_3(), boost::math::quaternion< T >::R_component_4(), and T.
|
inline |
References boost::math::quaternion< T >::a, boost::xpressive::at, and T.
|
inline |
References boost::math::quaternion< T >::a, boost::xpressive::at, boost::math::quaternion< T >::b, and T.
|
inline |
References boost::math::quaternion< T >::a, boost::xpressive::at, boost::math::quaternion< T >::b, boost::math::quaternion< T >::c, boost::math::quaternion< T >::d, boost::math::quaternion< T >::R_component_1(), boost::math::quaternion< T >::R_component_2(), boost::math::quaternion< T >::R_component_3(), boost::math::quaternion< T >::R_component_4(), and T.
|
inline |
References boost::math::quaternion< T >::a, boost::xpressive::at, and T.
|
inline |
References boost::math::quaternion< T >::a, boost::xpressive::at, boost::math::quaternion< T >::b, and T.
|
inline |
References boost::math::quaternion< T >::a, boost::xpressive::at, boost::math::quaternion< T >::b, boost::math::quaternion< T >::c, boost::math::quaternion< T >::d, boost::math::quaternion< T >::R_component_1(), boost::math::quaternion< T >::R_component_2(), boost::math::quaternion< T >::R_component_3(), boost::math::quaternion< T >::R_component_4(), and T.
|
inline |
|
inline |
|
inline |
References boost::math::quaternion< T >::a, boost::xpressive::at, boost::math::quaternion< T >::b, boost::math::quaternion< T >::c, boost::math::quaternion< T >::d, boost::denominator(), boost::math::quaternion< T >::R_component_1(), boost::math::quaternion< T >::R_component_2(), boost::math::quaternion< T >::R_component_3(), boost::math::quaternion< T >::R_component_4(), and T.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Referenced by boost::math::conj(), boost::math::quaternion< T >::operator*=(), boost::math::octonion< T >::operator*=(), boost::math::quaternion< T >::operator+=(), boost::math::octonion< T >::operator+=(), boost::math::operator-(), boost::math::quaternion< T >::operator-=(), boost::math::octonion< T >::operator-=(), boost::math::quaternion< T >::operator/=(), boost::math::octonion< T >::operator/=(), boost::math::operator==(), and boost::math::detail::quaternion_type_converter().
|
inline |
Referenced by boost::math::conj(), boost::math::cos(), boost::math::exp(), boost::math::quaternion< T >::operator*=(), boost::math::octonion< T >::operator*=(), boost::math::quaternion< T >::operator+=(), boost::math::octonion< T >::operator+=(), boost::math::operator-(), boost::math::quaternion< T >::operator-=(), boost::math::octonion< T >::operator-=(), boost::math::quaternion< T >::operator/=(), boost::math::octonion< T >::operator/=(), boost::math::operator==(), boost::math::detail::quaternion_type_converter(), and boost::math::sin().
|
inline |
Referenced by boost::math::conj(), boost::math::cos(), boost::math::exp(), boost::math::quaternion< T >::operator*=(), boost::math::quaternion< T >::operator+=(), boost::math::octonion< T >::operator+=(), boost::math::operator-(), boost::math::quaternion< T >::operator-=(), boost::math::octonion< T >::operator-=(), boost::math::quaternion< T >::operator/=(), boost::math::operator==(), boost::math::detail::quaternion_type_converter(), and boost::math::sin().
|
inline |
Referenced by boost::math::conj(), boost::math::cos(), boost::math::exp(), boost::math::quaternion< T >::operator*=(), boost::math::quaternion< T >::operator+=(), boost::math::octonion< T >::operator+=(), boost::math::operator-(), boost::math::quaternion< T >::operator-=(), boost::math::octonion< T >::operator-=(), boost::math::quaternion< T >::operator/=(), boost::math::operator==(), boost::math::detail::quaternion_type_converter(), and boost::math::sin().
|
inline |
Referenced by boost::math::cos(), boost::math::exp(), boost::math::norm(), boost::math::real(), and boost::math::sin().
|
inline |
Referenced by boost::math::cos(), boost::math::exp(), boost::math::sin(), and boost::math::unreal().
|
protected |
Referenced by boost::math::cylindrical(), boost::math::multipolar(), boost::math::quaternion< T >::operator*=(), boost::math::quaternion< T >::operator+=(), boost::math::quaternion< T >::operator-=(), boost::math::quaternion< T >::operator/=(), boost::math::operator>>(), boost::math::semipolar(), and boost::math::spherical().
|
protected |
Referenced by boost::math::cylindrical(), boost::math::cylindrospherical(), boost::math::multipolar(), boost::math::quaternion< T >::operator*=(), boost::math::quaternion< T >::operator+=(), boost::math::quaternion< T >::operator-=(), boost::math::quaternion< T >::operator/=(), boost::math::operator>>(), boost::math::semipolar(), and boost::math::spherical().
|
protected |
Referenced by boost::math::cylindrospherical(), boost::math::multipolar(), boost::math::quaternion< T >::operator*=(), boost::math::quaternion< T >::operator+=(), boost::math::quaternion< T >::operator-=(), boost::math::quaternion< T >::operator/=(), boost::math::operator>>(), boost::math::semipolar(), and boost::math::spherical().
|
protected |
Referenced by boost::math::cylindrospherical(), boost::math::multipolar(), boost::math::quaternion< T >::operator*=(), boost::math::quaternion< T >::operator+=(), boost::math::quaternion< T >::operator-=(), boost::math::quaternion< T >::operator/=(), boost::math::operator>>(), boost::math::semipolar(), and boost::math::spherical().