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

#include <quaternion.hpp>

Public Types

typedef float value_type
 

Public Member Functions

 quaternion (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))
 
 quaternion (::std::complex< float > const &z0,::std::complex< float > const &z1=::std::complex< float >())
 
 quaternion (quaternion< double > const &a_recopier)
 
 quaternion (quaternion< long double > const &a_recopier)
 
float real () const
 
quaternion< float > unreal () const
 
float R_component_1 () const
 
float R_component_2 () const
 
float R_component_3 () const
 
float R_component_4 () const
 
::std::complex< float > C_component_1 () const
 
::std::complex< float > C_component_2 () const
 
template<typename X >
quaternion< float > & operator= (quaternion< X > const &a_affecter)
 
quaternion< float > & operator= (quaternion< float > const &a_affecter)
 
quaternion< float > & operator= (float const &a_affecter)
 
quaternion< float > & operator= (::std::complex< float > const &a_affecter)
 
quaternion< float > & operator+= (float const &rhs)
 
quaternion< float > & operator+= (::std::complex< float > const &rhs)
 
template<typename X >
quaternion< float > & operator+= (quaternion< X > const &rhs)
 
quaternion< float > & operator-= (float const &rhs)
 
quaternion< float > & operator-= (::std::complex< float > const &rhs)
 
template<typename X >
quaternion< float > & operator-= (quaternion< X > const &rhs)
 
quaternion< float > & operator*= (float const &rhs)
 
quaternion< float > & operator*= (::std::complex< float > const &rhs)
 
template<typename X >
quaternion< float > & operator*= (quaternion< X > const &rhs)
 
quaternion< float > & operator/= (float const &rhs)
 
quaternion< float > & operator/= (::std::complex< float > const &rhs)
 
template<typename X >
quaternion< float > & operator/= (quaternion< X > const &rhs)
 

Protected Attributes

float a
 
float b
 
float c
 
float d
 

Member Typedef Documentation

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

Constructor & Destructor Documentation

boost::math::quaternion< float >::quaternion ( 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) 
)
inlineexplicit
boost::math::quaternion< float >::quaternion ( ::std::complex< float > const &  z0,
::std::complex< float > const &  z1 = ::std::complex< float >() 
)
inlineexplicit
boost::math::quaternion< float >::quaternion ( quaternion< double > const &  a_recopier)
inlineexplicit
boost::math::quaternion< float >::quaternion ( quaternion< long double > const &  a_recopier)
inlineexplicit

Member Function Documentation

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

Member Data Documentation

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

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