Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
boost::math::octonion< double > Class Template Reference

#include <octonion.hpp>

Public Types

typedef double value_type
 

Public Member Functions

 octonion (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), double const &requested_e=static_cast< double >(0), double const &requested_f=static_cast< double >(0), double const &requested_g=static_cast< double >(0), double const &requested_h=static_cast< double >(0))
 
 octonion (::std::complex< double > const &z0,::std::complex< double > const &z1=::std::complex< double >(),::std::complex< double > const &z2=::std::complex< double >(),::std::complex< double > const &z3=::std::complex< double >())
 
 octonion (::boost::math::quaternion< double > const &q0,::boost::math::quaternion< double > const &q1=::boost::math::quaternion< double >())
 
 octonion (octonion< float > const &a_recopier)
 
 octonion (octonion< long double > const &a_recopier)
 
double real () const
 
octonion< double > unreal () const
 
double R_component_1 () const
 
double R_component_2 () const
 
double R_component_3 () const
 
double R_component_4 () const
 
double R_component_5 () const
 
double R_component_6 () const
 
double R_component_7 () const
 
double R_component_8 () const
 
::std::complex< double > C_component_1 () const
 
::std::complex< double > C_component_2 () const
 
::std::complex< double > C_component_3 () const
 
::std::complex< double > C_component_4 () const
 
::boost::math::quaternion< double > H_component_1 () const
 
::boost::math::quaternion< double > H_component_2 () const
 
template<typename X >
octonion< double > & operator= (octonion< X > const &a_affecter)
 
octonion< double > & operator= (octonion< double > const &a_affecter)
 
octonion< double > & operator= (double const &a_affecter)
 
octonion< double > & operator= (::std::complex< double > const &a_affecter)
 
octonion< double > & operator= (::boost::math::quaternion< double > const &a_affecter)
 
octonion< double > & operator+= (double const &rhs)
 
octonion< double > & operator+= (::std::complex< double > const &rhs)
 
octonion< double > & operator+= (::boost::math::quaternion< double > const &rhs)
 
template<typename X >
octonion< double > & operator+= (octonion< X > const &rhs)
 
octonion< double > & operator-= (double const &rhs)
 
octonion< double > & operator-= (::std::complex< double > const &rhs)
 
octonion< double > & operator-= (::boost::math::quaternion< double > const &rhs)
 
template<typename X >
octonion< double > & operator-= (octonion< X > const &rhs)
 
octonion< double > & operator*= (double const &rhs)
 
octonion< double > & operator*= (::std::complex< double > const &rhs)
 
octonion< double > & operator*= (::boost::math::quaternion< double > const &rhs)
 
template<typename X >
octonion< double > & operator*= (octonion< X > const &rhs)
 
octonion< double > & operator/= (double const &rhs)
 
octonion< double > & operator/= (::std::complex< double > const &rhs)
 
octonion< double > & operator/= (::boost::math::quaternion< double > const &rhs)
 
template<typename X >
octonion< double > & operator/= (octonion< X > const &rhs)
 

Protected Attributes

double a
 
double b
 
double c
 
double d
 
double e
 
double f
 
double g
 
double h
 

Member Typedef Documentation

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

Constructor & Destructor Documentation

boost::math::octonion< double >::octonion ( 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),
double const &  requested_e = static_cast< double >(0),
double const &  requested_f = static_cast< double >(0),
double const &  requested_g = static_cast< double >(0),
double const &  requested_h = static_cast< double >(0) 
)
inlineexplicit
boost::math::octonion< double >::octonion ( ::std::complex< double > const &  z0,
::std::complex< double > const &  z1 = ::std::complex< double >(),
::std::complex< double > const &  z2 = ::std::complex< double >(),
::std::complex< double > const &  z3 = ::std::complex< double >() 
)
inlineexplicit
boost::math::octonion< double >::octonion ( ::boost::math::quaternion< double > const &  q0,
::boost::math::quaternion< double > const &  q1 = ::boost::math::quaternion< double >() 
)
inlineexplicit
boost::math::octonion< double >::octonion ( octonion< float > const &  a_recopier)
inlineexplicit
boost::math::octonion< double >::octonion ( octonion< long double > const &  a_recopier)
inlineexplicit

Member Function Documentation

::std::complex< double > boost::math::octonion< double >::C_component_1 ( ) const
inline
::std::complex< double > boost::math::octonion< double >::C_component_2 ( ) const
inline
::std::complex< double > boost::math::octonion< double >::C_component_3 ( ) const
inline
::std::complex< double > boost::math::octonion< double >::C_component_4 ( ) const
inline
::boost::math::quaternion< double > boost::math::octonion< double >::H_component_1 ( ) const
inline
::boost::math::quaternion< double > boost::math::octonion< double >::H_component_2 ( ) const
inline
octonion< double >& boost::math::octonion< double >::operator*= ( ::boost::math::quaternion< double > const &  rhs)
inline
template<typename X >
octonion< double >& boost::math::octonion< double >::operator*= ( octonion< X > const &  rhs)
inline
octonion< double >& boost::math::octonion< double >::operator*= ( double const &  rhs)
inline
octonion< double >& boost::math::octonion< double >::operator*= ( ::std::complex< double > const &  rhs)
inline
octonion< double >& boost::math::octonion< double >::operator+= ( double const &  rhs)
inline
octonion< double >& boost::math::octonion< double >::operator+= ( ::std::complex< double > const &  rhs)
inline
octonion< double >& boost::math::octonion< double >::operator+= ( ::boost::math::quaternion< double > const &  rhs)
inline
template<typename X >
octonion< double >& boost::math::octonion< double >::operator+= ( octonion< X > const &  rhs)
inline
octonion< double >& boost::math::octonion< double >::operator-= ( ::std::complex< double > const &  rhs)
inline
octonion< double >& boost::math::octonion< double >::operator-= ( double const &  rhs)
inline
octonion< double >& boost::math::octonion< double >::operator-= ( ::boost::math::quaternion< double > const &  rhs)
inline
template<typename X >
octonion< double >& boost::math::octonion< double >::operator-= ( octonion< X > const &  rhs)
inline
octonion< double >& boost::math::octonion< double >::operator/= ( double const &  rhs)
inline
octonion< double >& boost::math::octonion< double >::operator/= ( ::boost::math::quaternion< double > const &  rhs)
inline
template<typename X >
octonion< double >& boost::math::octonion< double >::operator/= ( octonion< X > const &  rhs)
inline
octonion< double >& boost::math::octonion< double >::operator/= ( ::std::complex< double > const &  rhs)
inline
template<typename X >
octonion< double >& boost::math::octonion< double >::operator= ( octonion< X > const &  a_affecter)
inline
octonion< double >& boost::math::octonion< double >::operator= ( double const &  a_affecter)
inline
octonion< double >& boost::math::octonion< double >::operator= ( ::boost::math::quaternion< double > const &  a_affecter)
inline
octonion< double >& boost::math::octonion< double >::operator= ( ::std::complex< double > const &  a_affecter)
inline
octonion< double >& boost::math::octonion< double >::operator= ( octonion< double > const &  a_affecter)
inline
double boost::math::octonion< double >::R_component_1 ( ) const
inline
double boost::math::octonion< double >::R_component_2 ( ) const
inline
double boost::math::octonion< double >::R_component_3 ( ) const
inline
double boost::math::octonion< double >::R_component_4 ( ) const
inline
double boost::math::octonion< double >::R_component_5 ( ) const
inline
double boost::math::octonion< double >::R_component_6 ( ) const
inline
double boost::math::octonion< double >::R_component_7 ( ) const
inline
double boost::math::octonion< double >::R_component_8 ( ) const
inline
double boost::math::octonion< double >::real ( ) const
inline
octonion< double > boost::math::octonion< double >::unreal ( ) const
inline

Member Data Documentation

double boost::math::octonion< double >::a
protected
double boost::math::octonion< double >::b
protected
double boost::math::octonion< double >::c
protected
double boost::math::octonion< double >::d
protected
double boost::math::octonion< double >::e
protected
double boost::math::octonion< double >::f
protected
double boost::math::octonion< double >::g
protected
double boost::math::octonion< double >::h
protected

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