Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
octonion.hpp File Reference
Include dependency graph for octonion.hpp:

Classes

singleton  boost::math::octonion< T >
 
class  boost::math::octonion< float >
 
class  boost::math::octonion< double >
 
class  boost::math::octonion< long double >
 

Namespaces

 boost
 Duration formatting facet for input.
 
 boost::math
 
 boost::math::detail
 

Macros

#define BOOST_OCTONION_ACCESSOR_GENERATOR(type)
 
#define BOOST_OCTONION_MEMBER_ASSIGNMENT_GENERATOR(type)
 
#define BOOST_OCTONION_MEMBER_DATA_GENERATOR(type)
 
#define BOOST_OCTONION_CONSTRUCTOR_GENERATOR(type)
 
#define BOOST_OCTONION_MEMBER_ADD_GENERATOR_1(type)
 
#define BOOST_OCTONION_MEMBER_ADD_GENERATOR_2(type)
 
#define BOOST_OCTONION_MEMBER_ADD_GENERATOR_3(type)
 
#define BOOST_OCTONION_MEMBER_ADD_GENERATOR_4(type)
 
#define BOOST_OCTONION_MEMBER_SUB_GENERATOR_1(type)
 
#define BOOST_OCTONION_MEMBER_SUB_GENERATOR_2(type)
 
#define BOOST_OCTONION_MEMBER_SUB_GENERATOR_3(type)
 
#define BOOST_OCTONION_MEMBER_SUB_GENERATOR_4(type)
 
#define BOOST_OCTONION_MEMBER_MUL_GENERATOR_1(type)
 
#define BOOST_OCTONION_MEMBER_MUL_GENERATOR_2(type)
 
#define BOOST_OCTONION_MEMBER_MUL_GENERATOR_3(type)
 
#define BOOST_OCTONION_MEMBER_MUL_GENERATOR_4(type)
 
#define BOOST_OCTONION_MEMBER_DIV_GENERATOR_1(type)
 
#define BOOST_OCTONION_MEMBER_DIV_GENERATOR_2(type)
 
#define BOOST_OCTONION_MEMBER_DIV_GENERATOR_3(type)
 
#define BOOST_OCTONION_MEMBER_DIV_GENERATOR_4(type)
 
#define BOOST_OCTONION_MEMBER_ADD_GENERATOR(type)
 
#define BOOST_OCTONION_MEMBER_SUB_GENERATOR(type)
 
#define BOOST_OCTONION_MEMBER_MUL_GENERATOR(type)
 
#define BOOST_OCTONION_MEMBER_DIV_GENERATOR(type)
 
#define BOOST_OCTONION_MEMBER_ALGEBRAIC_GENERATOR(type)
 
#define BOOST_OCTONION_OPERATOR_GENERATOR_BODY(op)
 
#define BOOST_OCTONION_OPERATOR_GENERATOR_1_L(op)
 
#define BOOST_OCTONION_OPERATOR_GENERATOR_1_R(op)
 
#define BOOST_OCTONION_OPERATOR_GENERATOR_2_L(op)
 
#define BOOST_OCTONION_OPERATOR_GENERATOR_2_R(op)
 
#define BOOST_OCTONION_OPERATOR_GENERATOR_3_L(op)
 
#define BOOST_OCTONION_OPERATOR_GENERATOR_3_R(op)
 
#define BOOST_OCTONION_OPERATOR_GENERATOR_4(op)
 
#define BOOST_OCTONION_OPERATOR_GENERATOR(op)
 
#define BOOST_OCTONION_NOT_EQUAL_GENERATOR
 
#define BOOST_OCTONION_VALARRAY_LOADER
 

Functions

template<typename T , typename U >
octonion< Tboost::math::detail::octonion_type_converter (octonion< U > const &rhs)
 
template<typename T >
octonion< Tboost::math::operator+ (T const &lhs, octonion< T > const &rhs)
 
template<typename T >
octonion< Tboost::math::operator+ (octonion< T > const &lhs, T const &rhs)
 
template<typename T >
octonion< Tboost::math::operator+ (::std::complex< T > const &lhs, octonion< T > const &rhs)
 
template<typename T >
octonion< Tboost::math::operator+ (octonion< T > const &lhs,::std::complex< T > const &rhs)
 
template<typename T >
octonion< Tboost::math::operator+ (::boost::math::quaternion< T > const &lhs, octonion< T > const &rhs)
 
template<typename T >
octonion< Tboost::math::operator+ (octonion< T > const &lhs,::boost::math::quaternion< T > const &rhs)
 
template<typename T >
octonion< Tboost::math::operator+ (octonion< T > const &lhs, octonion< T > const &rhs)
 
template<typename T >
octonion< Tboost::math::operator- (T const &lhs, octonion< T > const &rhs)
 
template<typename T >
octonion< Tboost::math::operator- (octonion< T > const &lhs, T const &rhs)
 
template<typename T >
octonion< Tboost::math::operator- (::std::complex< T > const &lhs, octonion< T > const &rhs)
 
template<typename T >
octonion< Tboost::math::operator- (octonion< T > const &lhs,::std::complex< T > const &rhs)
 
template<typename T >
octonion< Tboost::math::operator- (::boost::math::quaternion< T > const &lhs, octonion< T > const &rhs)
 
template<typename T >
octonion< Tboost::math::operator- (octonion< T > const &lhs,::boost::math::quaternion< T > const &rhs)
 
template<typename T >
octonion< Tboost::math::operator- (octonion< T > const &lhs, octonion< T > const &rhs)
 
template<typename T >
octonion< Tboost::math::operator* (T const &lhs, octonion< T > const &rhs)
 
template<typename T >
octonion< Tboost::math::operator* (octonion< T > const &lhs, T const &rhs)
 
template<typename T >
octonion< Tboost::math::operator* (::std::complex< T > const &lhs, octonion< T > const &rhs)
 
template<typename T >
octonion< Tboost::math::operator* (octonion< T > const &lhs,::std::complex< T > const &rhs)
 
template<typename T >
octonion< Tboost::math::operator* (::boost::math::quaternion< T > const &lhs, octonion< T > const &rhs)
 
template<typename T >
octonion< Tboost::math::operator* (octonion< T > const &lhs,::boost::math::quaternion< T > const &rhs)
 
template<typename T >
octonion< Tboost::math::operator* (octonion< T > const &lhs, octonion< T > const &rhs)
 
template<typename T >
octonion< Tboost::math::operator/ (T const &lhs, octonion< T > const &rhs)
 
template<typename T >
octonion< Tboost::math::operator/ (octonion< T > const &lhs, T const &rhs)
 
template<typename T >
octonion< Tboost::math::operator/ (::std::complex< T > const &lhs, octonion< T > const &rhs)
 
template<typename T >
octonion< Tboost::math::operator/ (octonion< T > const &lhs,::std::complex< T > const &rhs)
 
template<typename T >
octonion< Tboost::math::operator/ (::boost::math::quaternion< T > const &lhs, octonion< T > const &rhs)
 
template<typename T >
octonion< Tboost::math::operator/ (octonion< T > const &lhs,::boost::math::quaternion< T > const &rhs)
 
template<typename T >
octonion< Tboost::math::operator/ (octonion< T > const &lhs, octonion< T > const &rhs)
 
template<typename T >
octonion< Tboost::math::operator+ (octonion< T > const &o)
 
template<typename T >
octonion< Tboost::math::operator- (octonion< T > const &o)
 
template<typename T >
bool boost::math::operator== (T const &lhs, octonion< T > const &rhs)
 
template<typename T >
bool boost::math::operator== (octonion< T > const &lhs, T const &rhs)
 
template<typename T >
bool boost::math::operator== (::std::complex< T > const &lhs, octonion< T > const &rhs)
 
template<typename T >
bool boost::math::operator== (octonion< T > const &lhs,::std::complex< T > const &rhs)
 
template<typename T >
bool boost::math::operator== (::boost::math::quaternion< T > const &lhs, octonion< T > const &rhs)
 
template<typename T >
bool boost::math::operator== (octonion< T > const &lhs,::boost::math::quaternion< T > const &rhs)
 
template<typename T >
bool boost::math::operator== (octonion< T > const &lhs, octonion< T > const &rhs)
 
template<typename T >
bool boost::math::operator!= (T const &lhs, octonion< T > const &rhs)
 
template<typename T >
bool boost::math::operator!= (octonion< T > const &lhs, T const &rhs)
 
template<typename T >
bool boost::math::operator!= (::std::complex< T > const &lhs, octonion< T > const &rhs)
 
template<typename T >
bool boost::math::operator!= (octonion< T > const &lhs,::std::complex< T > const &rhs)
 
template<typename T >
bool boost::math::operator!= (::boost::math::quaternion< T > const &lhs, octonion< T > const &rhs)
 
template<typename T >
bool boost::math::operator!= (octonion< T > const &lhs,::boost::math::quaternion< T > const &rhs)
 
template<typename T >
bool boost::math::operator!= (octonion< T > const &lhs, octonion< T > const &rhs)
 
template<typename T , typename charT , class traits >
::std::basic_istream< charT,
traits > & 
boost::math::operator>> (::std::basic_istream< charT, traits > &is, octonion< T > &o)
 
template<typename T , typename charT , class traits >
::std::basic_ostream< charT,
traits > & 
boost::math::operator<< (::std::basic_ostream< charT, traits > &os, octonion< T > const &o)
 
template<typename T >
T boost::math::real (octonion< T > const &o)
 
template<typename T >
octonion< Tboost::math::unreal (octonion< T > const &o)
 
template<typename T >
T boost::math::sup (octonion< T > const &o)
 
template<typename T >
T boost::math::l1 (octonion< T > const &o)
 
template<typename T >
T boost::math::abs (const octonion< T > &o)
 
template<typename T >
T boost::math::norm (octonion< T > const &o)
 
template<typename T >
octonion< Tboost::math::conj (octonion< T > const &o)
 
template<typename T >
octonion< Tboost::math::spherical (T const &rho, T const &theta, T const &phi1, T const &phi2, T const &phi3, T const &phi4, T const &phi5, T const &phi6)
 
template<typename T >
octonion< Tboost::math::multipolar (T const &rho1, T const &theta1, T const &rho2, T const &theta2, T const &rho3, T const &theta3, T const &rho4, T const &theta4)
 
template<typename T >
octonion< Tboost::math::cylindrical (T const &r, T const &angle, T const &h1, T const &h2, T const &h3, T const &h4, T const &h5, T const &h6)
 
template<typename T >
octonion< Tboost::math::exp (octonion< T > const &o)
 
template<typename T >
octonion< Tboost::math::cos (octonion< T > const &o)
 
template<typename T >
octonion< Tboost::math::sin (octonion< T > const &o)
 
template<typename T >
octonion< Tboost::math::tan (octonion< T > const &o)
 
template<typename T >
octonion< Tboost::math::cosh (octonion< T > const &o)
 
template<typename T >
octonion< Tboost::math::sinh (octonion< T > const &o)
 
template<typename T >
octonion< Tboost::math::tanh (octonion< T > const &o)
 
template<typename T >
octonion< Tboost::math::pow (octonion< T > const &o, int n)
 

Macro Definition Documentation

#define BOOST_OCTONION_ACCESSOR_GENERATOR (   type)
#define BOOST_OCTONION_CONSTRUCTOR_GENERATOR (   type)
#define BOOST_OCTONION_MEMBER_ADD_GENERATOR (   type)
Value:
#define BOOST_OCTONION_MEMBER_ADD_GENERATOR_1(type)
Definition: octonion.hpp:733
#define BOOST_OCTONION_MEMBER_ADD_GENERATOR_3(type)
Definition: octonion.hpp:750
#define BOOST_OCTONION_MEMBER_ADD_GENERATOR_2(type)
Definition: octonion.hpp:741
adjacency_iterator typedef T::adjacency_iterator type
Definition: graph_traits.hpp:42
#define BOOST_OCTONION_MEMBER_ADD_GENERATOR_4(type)
Definition: octonion.hpp:761
#define BOOST_OCTONION_MEMBER_ADD_GENERATOR_1 (   type)
Value:
octonion<type> & operator += (type const & rhs) \
{ \
a += rhs; \
\
return(*this); \
}
std::vector< Left > & operator+=(std::vector< Left > &left, std::vector< Left > const &right)
Definition: vector.hpp:158
Allocator Allocator a
Definition: function_template.hpp:727
adjacency_iterator typedef T::adjacency_iterator type
Definition: graph_traits.hpp:42
#define BOOST_OCTONION_MEMBER_ADD_GENERATOR_2 (   type)
Value:
octonion<type> & operator += (::std::complex<type> const & rhs) \
{ \
a += rhs.real(); \
b += rhs.imag(); \
\
return(*this); \
}
std::vector< Left > & operator+=(std::vector< Left > &left, std::vector< Left > const &right)
Definition: vector.hpp:158
Allocator Allocator a
Definition: function_template.hpp:727
basic_streambuf< Allocator > & b
Definition: read.hpp:555
#define BOOST_OCTONION_MEMBER_ADD_GENERATOR_3 (   type)
Value:
octonion<type> & operator += (::boost::math::quaternion<type> const & rhs) \
{ \
a += rhs.R_component_1(); \
b += rhs.R_component_2(); \
c += rhs.R_component_3(); \
d += rhs.R_component_4(); \
\
return(*this); \
}
void const T const U const V & c
Definition: debug_adaptor.hpp:294
std::vector< Left > & operator+=(std::vector< Left > &left, std::vector< Left > const &right)
Definition: vector.hpp:158
Allocator Allocator a
Definition: function_template.hpp:727
Definition: quaternion.hpp:129
basic_streambuf< Allocator > & b
Definition: read.hpp:555
#define BOOST_OCTONION_MEMBER_ADD_GENERATOR_4 (   type)
Value:
template<typename X> \
octonion<type> & operator += (octonion<X> const & rhs) \
{ \
a += static_cast<type>(rhs.R_component_1()); \
b += static_cast<type>(rhs.R_component_2()); \
c += static_cast<type>(rhs.R_component_3()); \
d += static_cast<type>(rhs.R_component_4()); \
e += static_cast<type>(rhs.R_component_5()); \
f += static_cast<type>(rhs.R_component_6()); \
g += static_cast<type>(rhs.R_component_7()); \
h += static_cast<type>(rhs.R_component_8()); \
\
return(*this); \
}
void const T const U const V & c
Definition: debug_adaptor.hpp:294
std::vector< Left > & operator+=(std::vector< Left > &left, std::vector< Left > const &right)
Definition: vector.hpp:158
Allocator Allocator a
Definition: function_template.hpp:727
basic_streambuf< Allocator > & b
Definition: read.hpp:555
adjacency_iterator typedef T::adjacency_iterator type
Definition: graph_traits.hpp:42
#define BOOST_OCTONION_MEMBER_ALGEBRAIC_GENERATOR (   type)
Value:
#define BOOST_OCTONION_MEMBER_MUL_GENERATOR(type)
Definition: octonion.hpp:1230
#define BOOST_OCTONION_MEMBER_SUB_GENERATOR(type)
Definition: octonion.hpp:1224
#define BOOST_OCTONION_MEMBER_ADD_GENERATOR(type)
Definition: octonion.hpp:1218
#define BOOST_OCTONION_MEMBER_DIV_GENERATOR(type)
Definition: octonion.hpp:1236
adjacency_iterator typedef T::adjacency_iterator type
Definition: graph_traits.hpp:42
#define BOOST_OCTONION_MEMBER_ASSIGNMENT_GENERATOR (   type)
#define BOOST_OCTONION_MEMBER_DATA_GENERATOR (   type)
Value:
type d; \
type f; \
type g; \
type h; \
void const T const U const V & c
Definition: debug_adaptor.hpp:294
Allocator Allocator a
Definition: function_template.hpp:727
basic_streambuf< Allocator > & b
Definition: read.hpp:555
adjacency_iterator typedef T::adjacency_iterator type
Definition: graph_traits.hpp:42
BOOST_CONSTEXPR detail::constant_return< T, Policy >::type e(BOOST_MATH_EXPLICIT_TEMPLATE_TYPE_SPEC(T) BOOST_MATH_APPEND_EXPLICIT_TEMPLATE_TYPE_SPEC(Policy))
Definition: constants.hpp:314
#define BOOST_OCTONION_MEMBER_DIV_GENERATOR (   type)
Value:
#define BOOST_OCTONION_MEMBER_DIV_GENERATOR_2(type)
Definition: octonion.hpp:987
#define BOOST_OCTONION_MEMBER_DIV_GENERATOR_3(type)
Definition: octonion.hpp:1074
#define BOOST_OCTONION_MEMBER_DIV_GENERATOR_4(type)
Definition: octonion.hpp:1168
adjacency_iterator typedef T::adjacency_iterator type
Definition: graph_traits.hpp:42
#define BOOST_OCTONION_MEMBER_DIV_GENERATOR_1(type)
Definition: octonion.hpp:933
#define BOOST_OCTONION_MEMBER_DIV_GENERATOR_1 (   type)
Value:
octonion<type> & operator /= (type const & rhs) \
{ \
a /= rhs; \
b /= rhs; \
c /= rhs; \
d /= rhs; \
\
return(*this); \
}
void const T const U const V & c
Definition: debug_adaptor.hpp:294
Allocator Allocator a
Definition: function_template.hpp:727
basic_streambuf< Allocator > & b
Definition: read.hpp:555
adjacency_iterator typedef T::adjacency_iterator type
Definition: graph_traits.hpp:42
BOOST_PROTO_DISABLE_MSVC_C4714 BOOST_FORCEINLINE boost::proto::detail::enable_binary< deduce_domain, deduce_domain::proto_grammar, boost::mpl::or_< is_extension< Left >, is_extension< Right > >, boost::proto::tag::divides_assign, Left const &, Right const & >::type const operator/=(Left &&left, Right &&right)
Definition: operators.hpp:295
#define BOOST_OCTONION_MEMBER_DIV_GENERATOR_2 (   type)
#define BOOST_OCTONION_MEMBER_DIV_GENERATOR_3 (   type)
#define BOOST_OCTONION_MEMBER_DIV_GENERATOR_4 (   type)
#define BOOST_OCTONION_MEMBER_MUL_GENERATOR (   type)
Value:
#define BOOST_OCTONION_MEMBER_MUL_GENERATOR_3(type)
Definition: octonion.hpp:863
#define BOOST_OCTONION_MEMBER_MUL_GENERATOR_4(type)
Definition: octonion.hpp:892
#define BOOST_OCTONION_MEMBER_MUL_GENERATOR_1(type)
Definition: octonion.hpp:821
#define BOOST_OCTONION_MEMBER_MUL_GENERATOR_2(type)
Definition: octonion.hpp:836
adjacency_iterator typedef T::adjacency_iterator type
Definition: graph_traits.hpp:42
#define BOOST_OCTONION_MEMBER_MUL_GENERATOR_1 (   type)
Value:
octonion<type> & operator *= (type const & rhs) \
{ \
a *= rhs; \
b *= rhs; \
c *= rhs; \
d *= rhs; \
e *= rhs; \
f *= rhs; \
g *= rhs; \
h *= rhs; \
\
return(*this); \
}
void const T const U const V & c
Definition: debug_adaptor.hpp:294
Allocator Allocator a
Definition: function_template.hpp:727
basic_streambuf< Allocator > & b
Definition: read.hpp:555
adjacency_iterator typedef T::adjacency_iterator type
Definition: graph_traits.hpp:42
enable_if< typename gtl_and_3< yes_ps_ose, typename is_mutable_polygon_set_type< geometry_type_1 >::type, typename is_any_polygon_set_type< geometry_type_2 >::type >::type, geometry_type_1 >::type & operator*=(geometry_type_1 &lvalue, const geometry_type_2 &rvalue)
Definition: polygon_set_concept.hpp:407
#define BOOST_OCTONION_MEMBER_MUL_GENERATOR_2 (   type)
Value:
octonion<type> & operator *= (::std::complex<type> const & rhs) \
{ \
type ar = rhs.real(); \
type br = rhs.imag(); \
\
type at = +a*ar-b*br; \
type bt = +a*br+b*ar; \
type ct = +c*ar+d*br; \
type dt = -c*br+d*ar; \
type et = +e*ar+f*br; \
type ft = -e*br+f*ar; \
type gt = +g*ar-h*br; \
type ht = +g*br+h*ar; \
\
a = at; \
b = bt; \
c = ct; \
d = dt; \
e = et; \
f = ft; \
g = gt; \
h = ht; \
\
return(*this); \
}
void const T const U const V & c
Definition: debug_adaptor.hpp:294
bool gt(const T1 &lhs, const T2 &rhs)
Definition: tuple_comparison.hpp:79
function< op::at >::type const at
at is a lazy PolymorphicFunctionObject for indexing into a sequence in an xpressive semantic action...
Definition: regex_actions.hpp:938
Allocator Allocator a
Definition: function_template.hpp:727
basic_streambuf< Allocator > & b
Definition: read.hpp:555
adjacency_iterator typedef T::adjacency_iterator type
Definition: graph_traits.hpp:42
BOOST_CONSTEXPR detail::constant_return< T, Policy >::type e(BOOST_MATH_EXPLICIT_TEMPLATE_TYPE_SPEC(T) BOOST_MATH_APPEND_EXPLICIT_TEMPLATE_TYPE_SPEC(Policy))
Definition: constants.hpp:314
enable_if< typename gtl_and_3< yes_ps_ose, typename is_mutable_polygon_set_type< geometry_type_1 >::type, typename is_any_polygon_set_type< geometry_type_2 >::type >::type, geometry_type_1 >::type & operator*=(geometry_type_1 &lvalue, const geometry_type_2 &rvalue)
Definition: polygon_set_concept.hpp:407
#define BOOST_OCTONION_MEMBER_MUL_GENERATOR_3 (   type)
Value:
octonion<type> & operator *= (::boost::math::quaternion<type> const & rhs) \
{ \
type ar = rhs.R_component_1(); \
type br = rhs.R_component_2(); \
type cr = rhs.R_component_2(); \
type dr = rhs.R_component_2(); \
\
type at = +a*ar-b*br-c*cr-d*dr; \
type bt = +a*br+b*ar+c*dr-d*cr; \
type ct = +a*cr-b*dr+c*ar+d*br; \
type dt = +a*dr+b*cr-c*br+d*ar; \
type et = +e*ar+f*br+g*cr+h*dr; \
type ft = -e*br+f*ar-g*dr+h*cr; \
type gt = -e*cr+f*dr+g*ar-h*br; \
type ht = -e*dr-f*cr+g*br+h*ar; \
\
a = at; \
b = bt; \
c = ct; \
d = dt; \
e = et; \
f = ft; \
g = gt; \
h = ht; \
\
return(*this); \
}
void const T const U const V & c
Definition: debug_adaptor.hpp:294
bool gt(const T1 &lhs, const T2 &rhs)
Definition: tuple_comparison.hpp:79
function< op::at >::type const at
at is a lazy PolymorphicFunctionObject for indexing into a sequence in an xpressive semantic action...
Definition: regex_actions.hpp:938
Allocator Allocator a
Definition: function_template.hpp:727
Definition: quaternion.hpp:129
basic_streambuf< Allocator > & b
Definition: read.hpp:555
adjacency_iterator typedef T::adjacency_iterator type
Definition: graph_traits.hpp:42
BOOST_CONSTEXPR detail::constant_return< T, Policy >::type e(BOOST_MATH_EXPLICIT_TEMPLATE_TYPE_SPEC(T) BOOST_MATH_APPEND_EXPLICIT_TEMPLATE_TYPE_SPEC(Policy))
Definition: constants.hpp:314
enable_if< typename gtl_and_3< yes_ps_ose, typename is_mutable_polygon_set_type< geometry_type_1 >::type, typename is_any_polygon_set_type< geometry_type_2 >::type >::type, geometry_type_1 >::type & operator*=(geometry_type_1 &lvalue, const geometry_type_2 &rvalue)
Definition: polygon_set_concept.hpp:407
#define BOOST_OCTONION_MEMBER_MUL_GENERATOR_4 (   type)
#define BOOST_OCTONION_MEMBER_SUB_GENERATOR (   type)
Value:
#define BOOST_OCTONION_MEMBER_SUB_GENERATOR_1(type)
Definition: octonion.hpp:777
#define BOOST_OCTONION_MEMBER_SUB_GENERATOR_2(type)
Definition: octonion.hpp:785
#define BOOST_OCTONION_MEMBER_SUB_GENERATOR_3(type)
Definition: octonion.hpp:794
#define BOOST_OCTONION_MEMBER_SUB_GENERATOR_4(type)
Definition: octonion.hpp:805
adjacency_iterator typedef T::adjacency_iterator type
Definition: graph_traits.hpp:42
#define BOOST_OCTONION_MEMBER_SUB_GENERATOR_1 (   type)
Value:
octonion<type> & operator -= (type const & rhs) \
{ \
a -= rhs; \
\
return(*this); \
}
Allocator Allocator a
Definition: function_template.hpp:727
local_date_time operator-=(local_date_time &t, const boost::gregorian::months &m)
Subtracts a months object from a local_date_time.
Definition: date_duration_operators.hpp:62
adjacency_iterator typedef T::adjacency_iterator type
Definition: graph_traits.hpp:42
#define BOOST_OCTONION_MEMBER_SUB_GENERATOR_2 (   type)
Value:
octonion<type> & operator -= (::std::complex<type> const & rhs) \
{ \
a -= rhs.real(); \
b -= rhs.imag(); \
\
return(*this); \
}
Allocator Allocator a
Definition: function_template.hpp:727
local_date_time operator-=(local_date_time &t, const boost::gregorian::months &m)
Subtracts a months object from a local_date_time.
Definition: date_duration_operators.hpp:62
basic_streambuf< Allocator > & b
Definition: read.hpp:555
#define BOOST_OCTONION_MEMBER_SUB_GENERATOR_3 (   type)
Value:
octonion<type> & operator -= (::boost::math::quaternion<type> const & rhs) \
{ \
a -= rhs.R_component_1(); \
b -= rhs.R_component_2(); \
c -= rhs.R_component_3(); \
d -= rhs.R_component_4(); \
\
return(*this); \
}
void const T const U const V & c
Definition: debug_adaptor.hpp:294
Allocator Allocator a
Definition: function_template.hpp:727
Definition: quaternion.hpp:129
local_date_time operator-=(local_date_time &t, const boost::gregorian::months &m)
Subtracts a months object from a local_date_time.
Definition: date_duration_operators.hpp:62
basic_streambuf< Allocator > & b
Definition: read.hpp:555
#define BOOST_OCTONION_MEMBER_SUB_GENERATOR_4 (   type)
Value:
template<typename X> \
octonion<type> & operator -= (octonion<X> const & rhs) \
{ \
a -= static_cast<type>(rhs.R_component_1()); \
b -= static_cast<type>(rhs.R_component_2()); \
c -= static_cast<type>(rhs.R_component_3()); \
d -= static_cast<type>(rhs.R_component_4()); \
e -= static_cast<type>(rhs.R_component_5()); \
f -= static_cast<type>(rhs.R_component_6()); \
g -= static_cast<type>(rhs.R_component_7()); \
h -= static_cast<type>(rhs.R_component_8()); \
\
return(*this); \
}
void const T const U const V & c
Definition: debug_adaptor.hpp:294
Allocator Allocator a
Definition: function_template.hpp:727
local_date_time operator-=(local_date_time &t, const boost::gregorian::months &m)
Subtracts a months object from a local_date_time.
Definition: date_duration_operators.hpp:62
basic_streambuf< Allocator > & b
Definition: read.hpp:555
adjacency_iterator typedef T::adjacency_iterator type
Definition: graph_traits.hpp:42
#define BOOST_OCTONION_NOT_EQUAL_GENERATOR
Value:
{ \
return(!(lhs == rhs)); \
}
#define BOOST_OCTONION_OPERATOR_GENERATOR (   op)
Value:
#define BOOST_OCTONION_OPERATOR_GENERATOR_1_L(op)
Definition: octonion.hpp:1482
#define BOOST_OCTONION_OPERATOR_GENERATOR_3_R(op)
Definition: octonion.hpp:1507
#define BOOST_OCTONION_OPERATOR_GENERATOR_3_L(op)
Definition: octonion.hpp:1502
#define BOOST_OCTONION_OPERATOR_GENERATOR_1_R(op)
Definition: octonion.hpp:1487
#define BOOST_OCTONION_OPERATOR_GENERATOR_2_L(op)
Definition: octonion.hpp:1492
#define BOOST_OCTONION_OPERATOR_GENERATOR_4(op)
Definition: octonion.hpp:1512
#define BOOST_OCTONION_OPERATOR_GENERATOR_2_R(op)
Definition: octonion.hpp:1497
#define BOOST_OCTONION_OPERATOR_GENERATOR_1_L (   op)
Value:
template<typename T> \
inline octonion<T> operator op (T const & lhs, octonion<T> const & rhs) \
T
Definition: mem_fn_cc.hpp:25
#define BOOST_OCTONION_OPERATOR_GENERATOR_BODY(op)
Definition: octonion.hpp:1475
#define BOOST_OCTONION_OPERATOR_GENERATOR_1_R (   op)
Value:
template<typename T> \
inline octonion<T> operator op (octonion<T> const & lhs, T const & rhs) \
T
Definition: mem_fn_cc.hpp:25
#define BOOST_OCTONION_OPERATOR_GENERATOR_BODY(op)
Definition: octonion.hpp:1475
#define BOOST_OCTONION_OPERATOR_GENERATOR_2_L (   op)
Value:
template<typename T> \
inline octonion<T> operator op (::std::complex<T> const & lhs, octonion<T> const & rhs) \
#define BOOST_OCTONION_OPERATOR_GENERATOR_BODY(op)
Definition: octonion.hpp:1475
#define BOOST_OCTONION_OPERATOR_GENERATOR_2_R (   op)
Value:
template<typename T> \
inline octonion<T> operator op (octonion<T> const & lhs, ::std::complex<T> const & rhs) \
#define BOOST_OCTONION_OPERATOR_GENERATOR_BODY(op)
Definition: octonion.hpp:1475
#define BOOST_OCTONION_OPERATOR_GENERATOR_3_L (   op)
Value:
template<typename T> \
inline octonion<T> operator op (::boost::math::quaternion<T> const & lhs, octonion<T> const & rhs) \
#define BOOST_OCTONION_OPERATOR_GENERATOR_BODY(op)
Definition: octonion.hpp:1475
Definition: quaternion.hpp:129
#define BOOST_OCTONION_OPERATOR_GENERATOR_3_R (   op)
Value:
template<typename T> \
inline octonion<T> operator op (octonion<T> const & lhs, ::boost::math::quaternion<T> const & rhs) \
#define BOOST_OCTONION_OPERATOR_GENERATOR_BODY(op)
Definition: octonion.hpp:1475
Definition: quaternion.hpp:129
#define BOOST_OCTONION_OPERATOR_GENERATOR_4 (   op)
Value:
template<typename T> \
inline octonion<T> operator op (octonion<T> const & lhs, octonion<T> const & rhs) \
#define BOOST_OCTONION_OPERATOR_GENERATOR_BODY(op)
Definition: octonion.hpp:1475
#define BOOST_OCTONION_OPERATOR_GENERATOR_BODY (   op)
Value:
{ \
octonion<T> res(lhs); \
res op##= rhs; \
return(res); \
}
#define BOOST_OCTONION_VALARRAY_LOADER
Value:
using ::std::valarray; \
\
valarray<T> temp(8); \
\
temp[0] = o.R_component_1(); \
temp[1] = o.R_component_2(); \
temp[2] = o.R_component_3(); \
temp[3] = o.R_component_4(); \
temp[4] = o.R_component_5(); \
temp[5] = o.R_component_6(); \
temp[6] = o.R_component_7(); \
temp[7] = o.R_component_8();

Referenced by boost::math::abs(), boost::math::l1(), and boost::math::sup().