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

#include <octonion.hpp>

Public Types

typedef float value_type
 

Public Member Functions

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

Protected Attributes

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

Member Typedef Documentation

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

Constructor & Destructor Documentation

boost::math::octonion< float >::octonion ( float const &  requested_a = static_cast< float >(0),
float const &  requested_b = static_cast< float >(0),
float const &  requested_c = static_cast< float >(0),
float const &  requested_d = static_cast< float >(0),
float const &  requested_e = static_cast< float >(0),
float const &  requested_f = static_cast< float >(0),
float const &  requested_g = static_cast< float >(0),
float const &  requested_h = static_cast< float >(0) 
)
inlineexplicit
boost::math::octonion< float >::octonion ( ::std::complex< float > const &  z0,
::std::complex< float > const &  z1 = ::std::complex< float >(),
::std::complex< float > const &  z2 = ::std::complex< float >(),
::std::complex< float > const &  z3 = ::std::complex< float >() 
)
inlineexplicit
boost::math::octonion< float >::octonion ( ::boost::math::quaternion< float > const &  q0,
::boost::math::quaternion< float > const &  q1 = ::boost::math::quaternion< float >() 
)
inlineexplicit
boost::math::octonion< float >::octonion ( octonion< double > const &  a_recopier)
inlineexplicit
boost::math::octonion< float >::octonion ( octonion< long double > const &  a_recopier)
inlineexplicit

Member Function Documentation

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

Member Data Documentation

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

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