Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
boost::math::quaternion< T > Singleton Reference

#include <math_fwd.hpp>

Collaboration diagram for boost::math::quaternion< T >:

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< Tunreal () const
 
T R_component_1 () const
 
T R_component_2 () const
 
T R_component_3 () const
 
T R_component_4 () const
 
::std::complex< TC_component_1 () const
 
::std::complex< TC_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
 

Member Typedef Documentation

template<typename T>
typedef T boost::math::quaternion< T >::value_type

Constructor & Destructor Documentation

template<typename T>
boost::math::quaternion< T >::quaternion ( T const &  requested_a = T(),
T const &  requested_b = T(),
T const &  requested_c = T(),
T const &  requested_d = T() 
)
inlineexplicit
template<typename T>
boost::math::quaternion< T >::quaternion ( ::std::complex< T > const &  z0,
::std::complex< T > const &  z1 = ::std::complex<T>() 
)
inlineexplicit
template<typename T>
template<typename X >
boost::math::quaternion< T >::quaternion ( quaternion< X > const &  a_recopier)
inlineexplicit

Member Function Documentation

template<typename T>
::std::complex< T > boost::math::quaternion< T >::C_component_1 ( ) const
inline
template<typename T>
::std::complex< T > boost::math::quaternion< T >::C_component_2 ( ) const
inline
template<typename T>
quaternion<T>& boost::math::quaternion< T >::operator+= ( T const &  rhs)
inline
template<typename T>
quaternion<T>& boost::math::quaternion< T >::operator+= ( ::std::complex< T > const &  rhs)
inline
template<typename T>
quaternion<T>& boost::math::quaternion< T >::operator-= ( T const &  rhs)
inline
template<typename T>
quaternion<T>& boost::math::quaternion< T >::operator-= ( ::std::complex< T > const &  rhs)
inline
template<typename T>
quaternion< T >& boost::math::quaternion< T >::operator= ( quaternion< T > const &  a_affecter)
inline
template<typename T>
template<typename X >
quaternion< T >& boost::math::quaternion< T >::operator= ( quaternion< X > const &  a_affecter)
inline
template<typename T>
quaternion< T >& boost::math::quaternion< T >::operator= ( T const &  a_affecter)
inline
template<typename T>
quaternion< T >& boost::math::quaternion< T >::operator= ( ::std::complex< T > const &  a_affecter)
inline
template<typename T>
T boost::math::quaternion< T >::real ( ) const
inline
template<typename T>
quaternion< T > boost::math::quaternion< T >::unreal ( ) const
inline

Member Data Documentation


The documentation for this singleton was generated from the following file: