Exponential and Logarithmic Functions

Functions

template<arbb_scalar_type_t S>
arbb::detail::disable_if
<!detail::is_scalar_fp< scalar
< S > >::value, nested< scalar
< S > > >::type 
arbb::exp (const nested< scalar< S > > &value)
 Applies exp(const scalar<S>&) to all elements of the provided containers and returns the result in order.
template<arbb_scalar_type_t S>
arbb::detail::disable_if
<!detail::is_scalar_fp< scalar
< S > >::value, nested< scalar
< S > > >::type 
arbb::exp10 (const nested< scalar< S > > &value)
 Applies exp10(const scalar<S>&) to all elements of the provided containers and returns the result in order.
template<arbb_scalar_type_t S>
arbb::detail::disable_if
<!detail::is_scalar_fp< scalar
< S > >::value, nested< scalar
< S > > >::type 
arbb::log (const nested< scalar< S > > &value)
 Applies log(const scalar<S>&) to all elements of the provided containers and returns the result in order.
template<arbb_scalar_type_t S>
arbb::detail::disable_if
<!detail::is_scalar_fp< scalar
< S > >::value, nested< scalar
< S > > >::type 
arbb::log10 (const nested< scalar< S > > &value)
 Applies log10(const scalar<S>&) to all elements of the provided containers and returns the result in order.
template<arbb_scalar_type_t S>
arbb::detail::disable_if
<!detail::is_scalar_fp< scalar
< S > >::value, nested< scalar
< S > > >::type 
arbb::pow (const typename uncaptured< scalar< S > >::type &base, const nested< scalar< S > > &exponent)
 Applies pow(const scalar<S>&, const scalar<S>&) to all elements of the provided containers and returns the result in order.
template<arbb_scalar_type_t S>
arbb::detail::disable_if
<!detail::is_scalar_fp< scalar
< S > >::value, nested< scalar
< S > > >::type 
arbb::pow (const nested< scalar< S > > &base, const typename uncaptured< scalar< S > >::type &exponent)
 Applies pow(const scalar<S>&, const scalar<S>&) to all elements of the provided containers and returns the result in order.
template<arbb_scalar_type_t S>
arbb::detail::disable_if
<!detail::is_scalar_fp< scalar
< S > >::value, nested< scalar
< S > > >::type 
arbb::pow (const nested< scalar< S > > &base, const nested< scalar< S > > &exponent)
 Applies pow(const scalar<S>&, const scalar<S>&) to all elements of the provided containers and returns the result in order.
template<arbb_scalar_type_t S>
arbb::detail::disable_if
<!detail::is_scalar_fp< scalar
< S > >::value, nested< scalar
< S > > >::type 
arbb::pow (const scalar< S > &base, const nested< scalar< S > > &exponent)
 Applies pow(const scalar<S>&, const scalar<S>&) to all elements of the provided containers and returns the result in order.
template<arbb_scalar_type_t S>
arbb::detail::disable_if
<!detail::is_scalar_fp< scalar
< S > >::value, nested< scalar
< S > > >::type 
arbb::pow (const nested< scalar< S > > &base, const scalar< S > &exponent)
 Applies pow(const scalar<S>&, const scalar<S>&) to all elements of the provided containers and returns the result in order.

Function Documentation

template<arbb_scalar_type_t S>
arbb ::detail::disable_if<!detail::is_scalar_fp< scalar<S> >::value, nested<scalar<S> > >::type arbb::exp ( const nested< scalar< S > > &  value  )  [inline]

Applies exp(const scalar<S>&) to all elements of the provided containers and returns the result in order.

The dimensionality and size of all containers must match. This function applies to containers of floating point type (arbb::f32 or arbb::f64).

Parameters:

value The floating-point value whose base-e exponent is returned.

Definition at line 600 of file elementwise_nested_scalar.hpp.

template<arbb_scalar_type_t S>
arbb ::detail::disable_if<!detail::is_scalar_fp< scalar<S> >::value, nested<scalar<S> > >::type arbb::exp10 ( const nested< scalar< S > > &  value  )  [inline]

Applies exp10(const scalar<S>&) to all elements of the provided containers and returns the result in order.

The dimensionality and size of all containers must match. This function applies to containers of floating point type (arbb::f32 or arbb::f64).

Parameters:

value The floating-point value whose base-10 exponent is returned.

Definition at line 626 of file elementwise_nested_scalar.hpp.

template<arbb_scalar_type_t S>
arbb ::detail::disable_if<!detail::is_scalar_fp< scalar<S> >::value, nested<scalar<S> > >::type arbb::log ( const nested< scalar< S > > &  value  )  [inline]

Applies log(const scalar<S>&) to all elements of the provided containers and returns the result in order.

The dimensionality and size of all containers must match. This function applies to containers of floating point type (arbb::f32 or arbb::f64).

Parameters:

value The floating-point value whose natural logarithm is returned.

Definition at line 704 of file elementwise_nested_scalar.hpp.

template<arbb_scalar_type_t S>
arbb ::detail::disable_if<!detail::is_scalar_fp< scalar<S> >::value, nested<scalar<S> > >::type arbb::log10 ( const nested< scalar< S > > &  value  )  [inline]

Applies log10(const scalar<S>&) to all elements of the provided containers and returns the result in order.

The dimensionality and size of all containers must match. This function applies to containers of floating point type (arbb::f32 or arbb::f64).

Parameters:

value The floating-point value whose base-10 logarithm is returned.

Definition at line 730 of file elementwise_nested_scalar.hpp.

template<arbb_scalar_type_t S>
arbb ::detail::disable_if<!detail::is_scalar_fp< scalar<S> >::value, nested<scalar<S> > >::type arbb::pow ( const typename uncaptured< scalar< S > >::type &  base,
const nested< scalar< S > > &  exponent 
) [inline]

Applies pow(const scalar<S>&, const scalar<S>&) to all elements of the provided containers and returns the result in order.

The dimensionality and size of all containers must match. This function applies to containers of floating point type (arbb::f32 or arbb::f64). Scalar arguments are treated as if they were nested containers of the appropriate shape whose elements are equal to the scalar arguments provided.

Parameters:

base The floating-point base to exponentiate.
exponent The floating-point exponent with which to exponentiate the base. This parameter is treated as a nested container of the appropriate shape whose elements are equal to the scalar argument provided.

Definition at line 4690 of file elementwise_nested_scalar.hpp.

template<arbb_scalar_type_t S>
arbb ::detail::disable_if<!detail::is_scalar_fp< scalar<S> >::value, nested<scalar<S> > >::type arbb::pow ( const nested< scalar< S > > &  base,
const typename uncaptured< scalar< S > >::type &  exponent 
) [inline]

Applies pow(const scalar<S>&, const scalar<S>&) to all elements of the provided containers and returns the result in order.

The dimensionality and size of all containers must match. This function applies to containers of floating point type (arbb::f32 or arbb::f64). Scalar arguments are treated as if they were nested containers of the appropriate shape whose elements are equal to the scalar arguments provided.

Parameters:

base The floating-point base to exponentiate.
exponent The floating-point exponent with which to exponentiate the base.

Definition at line 4721 of file elementwise_nested_scalar.hpp.

template<arbb_scalar_type_t S>
arbb ::detail::disable_if<!detail::is_scalar_fp< scalar<S> >::value, nested<scalar<S> > >::type arbb::pow ( const nested< scalar< S > > &  base,
const nested< scalar< S > > &  exponent 
) [inline]

Applies pow(const scalar<S>&, const scalar<S>&) to all elements of the provided containers and returns the result in order.

The dimensionality and size of all containers must match. This function applies to containers of floating point type (arbb::f32 or arbb::f64).

Parameters:

base The floating-point base to exponentiate.
exponent The floating-point exponent with which to exponentiate the base.

Definition at line 4749 of file elementwise_nested_scalar.hpp.

template<arbb_scalar_type_t S>
arbb ::detail::disable_if<!detail::is_scalar_fp< scalar<S> >::value, nested<scalar<S> > >::type arbb::pow ( const scalar< S > &  base,
const nested< scalar< S > > &  exponent 
) [inline]

Applies pow(const scalar<S>&, const scalar<S>&) to all elements of the provided containers and returns the result in order.

The dimensionality and size of all containers must match. This function applies to containers of floating point type (arbb::f32 or arbb::f64). Scalar arguments are treated as if they were nested containers of the appropriate shape whose elements are equal to the scalar arguments provided.

Parameters:

base The floating-point base to exponentiate.
exponent The floating-point exponent with which to exponentiate the base. This parameter is treated as a nested container of the appropriate shape whose elements are equal to the scalar argument provided.

Definition at line 4782 of file elementwise_nested_scalar.hpp.

template<arbb_scalar_type_t S>
arbb ::detail::disable_if<!detail::is_scalar_fp< scalar<S> >::value, nested<scalar<S> > >::type arbb::pow ( const nested< scalar< S > > &  base,
const scalar< S > &  exponent 
) [inline]

Applies pow(const scalar<S>&, const scalar<S>&) to all elements of the provided containers and returns the result in order.

The dimensionality and size of all containers must match. This function applies to containers of floating point type (arbb::f32 or arbb::f64). Scalar arguments are treated as if they were nested containers of the appropriate shape whose elements are equal to the scalar arguments provided.

Parameters:

base The floating-point base to exponentiate.
exponent The floating-point exponent with which to exponentiate the base.

Definition at line 4812 of file elementwise_nested_scalar.hpp.

Submit feedback on this help topic

Copyright © 2010, Intel Corporation. All rights reserved.