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

#include <quaternion.hpp>

Public Types

typedef long double value_type
 

Public Member Functions

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

Protected Attributes

long double a
 
long double b
 
long double c
 
long double d
 

Member Typedef Documentation

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

Constructor & Destructor Documentation

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

Member Function Documentation

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

Member Data Documentation

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

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