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< double > Class Template Reference

#include <quaternion.hpp>

Public Types

typedef double value_type
 

Public Member Functions

 quaternion (double const &requested_a=static_cast< double >(0), double const &requested_b=static_cast< double >(0), double const &requested_c=static_cast< double >(0), double const &requested_d=static_cast< double >(0))
 
 quaternion (::std::complex< double > const &z0,::std::complex< double > const &z1=::std::complex< double >())
 
 quaternion (quaternion< float > const &a_recopier)
 
 quaternion (quaternion< long double > const &a_recopier)
 
double real () const
 
quaternion< double > unreal () const
 
double R_component_1 () const
 
double R_component_2 () const
 
double R_component_3 () const
 
double R_component_4 () const
 
::std::complex< double > C_component_1 () const
 
::std::complex< double > C_component_2 () const
 
template<typename X >
quaternion< double > & operator= (quaternion< X > const &a_affecter)
 
quaternion< double > & operator= (quaternion< double > const &a_affecter)
 
quaternion< double > & operator= (double const &a_affecter)
 
quaternion< double > & operator= (::std::complex< double > const &a_affecter)
 
quaternion< double > & operator+= (double const &rhs)
 
quaternion< double > & operator+= (::std::complex< double > const &rhs)
 
template<typename X >
quaternion< double > & operator+= (quaternion< X > const &rhs)
 
quaternion< double > & operator-= (double const &rhs)
 
quaternion< double > & operator-= (::std::complex< double > const &rhs)
 
template<typename X >
quaternion< double > & operator-= (quaternion< X > const &rhs)
 
quaternion< double > & operator*= (double const &rhs)
 
quaternion< double > & operator*= (::std::complex< double > const &rhs)
 
template<typename X >
quaternion< double > & operator*= (quaternion< X > const &rhs)
 
quaternion< double > & operator/= (double const &rhs)
 
quaternion< double > & operator/= (::std::complex< double > const &rhs)
 
template<typename X >
quaternion< double > & operator/= (quaternion< X > const &rhs)
 

Protected Attributes

double a
 
double b
 
double c
 
double d
 

Member Typedef Documentation

typedef double boost::math::quaternion< double >::value_type

Constructor & Destructor Documentation

boost::math::quaternion< double >::quaternion ( double const &  requested_a = static_cast< double >(0),
double const &  requested_b = static_cast< double >(0),
double const &  requested_c = static_cast< double >(0),
double const &  requested_d = static_cast< double >(0) 
)
inlineexplicit
boost::math::quaternion< double >::quaternion ( ::std::complex< double > const &  z0,
::std::complex< double > const &  z1 = ::std::complex< double >() 
)
inlineexplicit
boost::math::quaternion< double >::quaternion ( quaternion< float > const &  a_recopier)
inlineexplicit
boost::math::quaternion< double >::quaternion ( quaternion< long double > const &  a_recopier)
inlineexplicit

Member Function Documentation

::std::complex< double > boost::math::quaternion< double >::C_component_1 ( ) const
inline
::std::complex< double > boost::math::quaternion< double >::C_component_2 ( ) const
inline
quaternion< double >& boost::math::quaternion< double >::operator*= ( double const &  rhs)
inline
quaternion< double >& boost::math::quaternion< double >::operator*= ( ::std::complex< double > const &  rhs)
inline
template<typename X >
quaternion< double >& boost::math::quaternion< double >::operator*= ( quaternion< X > const &  rhs)
inline
quaternion< double >& boost::math::quaternion< double >::operator+= ( double const &  rhs)
inline
quaternion< double >& boost::math::quaternion< double >::operator+= ( ::std::complex< double > const &  rhs)
inline
template<typename X >
quaternion< double >& boost::math::quaternion< double >::operator+= ( quaternion< X > const &  rhs)
inline
quaternion< double >& boost::math::quaternion< double >::operator-= ( ::std::complex< double > const &  rhs)
inline
quaternion< double >& boost::math::quaternion< double >::operator-= ( double const &  rhs)
inline
template<typename X >
quaternion< double >& boost::math::quaternion< double >::operator-= ( quaternion< X > const &  rhs)
inline
quaternion< double >& boost::math::quaternion< double >::operator/= ( ::std::complex< double > const &  rhs)
inline
quaternion< double >& boost::math::quaternion< double >::operator/= ( double const &  rhs)
inline
template<typename X >
quaternion< double >& boost::math::quaternion< double >::operator/= ( quaternion< X > const &  rhs)
inline
template<typename X >
quaternion< double >& boost::math::quaternion< double >::operator= ( quaternion< X > const &  a_affecter)
inline
quaternion< double >& boost::math::quaternion< double >::operator= ( double const &  a_affecter)
inline
quaternion< double >& boost::math::quaternion< double >::operator= ( ::std::complex< double > const &  a_affecter)
inline
quaternion< double >& boost::math::quaternion< double >::operator= ( quaternion< double > const &  a_affecter)
inline
double boost::math::quaternion< double >::R_component_1 ( ) const
inline
double boost::math::quaternion< double >::R_component_2 ( ) const
inline
double boost::math::quaternion< double >::R_component_3 ( ) const
inline
double boost::math::quaternion< double >::R_component_4 ( ) const
inline
double boost::math::quaternion< double >::real ( ) const
inline
quaternion< double > boost::math::quaternion< double >::unreal ( ) const
inline

Member Data Documentation

double boost::math::quaternion< double >::a
protected
double boost::math::quaternion< double >::b
protected
double boost::math::quaternion< double >::c
protected
double boost::math::quaternion< double >::d
protected

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