Exponential and Logarithmic Functions

Functions

template<arbb_scalar_type_t S, std::size_t D>
arbb::detail::disable_if
<!detail::is_scalar_fp< scalar
< S > >::value, dense< scalar
< S >, D > >::type 
arbb::exp (const dense< scalar< S >, D > &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, std::size_t D>
arbb::detail::disable_if
<!detail::is_scalar_fp< scalar
< S > >::value, dense< scalar
< S >, D > >::type 
arbb::exp10 (const dense< scalar< S >, D > &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, std::size_t D>
arbb::detail::disable_if
<!detail::is_scalar_fp< scalar
< S > >::value, dense< scalar
< S >, D > >::type 
arbb::log (const dense< scalar< S >, D > &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, std::size_t D>
arbb::detail::disable_if
<!detail::is_scalar_fp< scalar
< S > >::value, dense< scalar
< S >, D > >::type 
arbb::log10 (const dense< scalar< S >, D > &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, std::size_t D>
arbb::detail::disable_if
<!detail::is_scalar_fp< scalar
< S > >::value, dense< scalar
< S >, D > >::type 
arbb::pow (const typename uncaptured< scalar< S > >::type &base, const dense< scalar< S >, D > &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, std::size_t D>
arbb::detail::disable_if
<!detail::is_scalar_fp< scalar
< S > >::value, dense< scalar
< S >, D > >::type 
arbb::pow (const dense< scalar< S >, D > &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, std::size_t D>
arbb::detail::disable_if
<!detail::is_scalar_fp< scalar
< S > >::value, dense< scalar
< S >, D > >::type 
arbb::pow (const dense< scalar< S >, D > &base, const dense< scalar< S >, D > &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, std::size_t D>
arbb::detail::disable_if
<!detail::is_scalar_fp< scalar
< S > >::value, dense< scalar
< S >, D > >::type 
arbb::pow (const scalar< S > &base, const dense< scalar< S >, D > &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, std::size_t D>
arbb::detail::disable_if
<!detail::is_scalar_fp< scalar
< S > >::value, dense< scalar
< S >, D > >::type 
arbb::pow (const dense< scalar< S >, D > &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.
template<typename T , std::size_t D>
arbb::detail::disable_if
< detail::is_scalar< T >
::value||detail::is_uncaptured_scalar
< T >::value, dense< T, D >
>::type 
arbb::exp (const dense< T, D > &value)
 Applies exp(const T&) to all elements of the provided containers and returns the result in order.
template<typename T , std::size_t D>
arbb::detail::disable_if
< detail::is_scalar< T >
::value||detail::is_uncaptured_scalar
< T >::value, dense< T, D >
>::type 
arbb::exp10 (const dense< T, D > &value)
 Applies exp10(const T&) to all elements of the provided containers and returns the result in order.
template<typename T , std::size_t D>
arbb::detail::disable_if
< detail::is_scalar< T >
::value||detail::is_uncaptured_scalar
< T >::value, dense< T, D >
>::type 
arbb::log (const dense< T, D > &value)
 Applies log(const T&) to all elements of the provided containers and returns the result in order.
template<typename T , std::size_t D>
arbb::detail::disable_if
< detail::is_scalar< T >
::value||detail::is_uncaptured_scalar
< T >::value, dense< T, D >
>::type 
arbb::log10 (const dense< T, D > &value)
 Applies log10(const T&) to all elements of the provided containers and returns the result in order.
template<typename T , std::size_t D>
arbb::detail::disable_if
< detail::is_scalar< T >
::value||detail::is_uncaptured_scalar
< T >::value, dense< T, D >
>::type 
arbb::pow (const dense< T, D > &base, const dense< T, D > &exponent)
 Applies pow(const T&, const T&) to all elements of the provided containers and returns the result in order.

Function Documentation

template<arbb_scalar_type_t S, std::size_t D>
arbb ::detail::disable_if<!detail::is_scalar_fp< scalar<S> >::value, dense<scalar<S>, D> >::type arbb::exp ( const dense< scalar< S >, D > &  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 608 of file elementwise_dense_scalar.hpp.

template<arbb_scalar_type_t S, std::size_t D>
arbb ::detail::disable_if<!detail::is_scalar_fp< scalar<S> >::value, dense<scalar<S>, D> >::type arbb::exp10 ( const dense< scalar< S >, D > &  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 634 of file elementwise_dense_scalar.hpp.

template<arbb_scalar_type_t S, std::size_t D>
arbb ::detail::disable_if<!detail::is_scalar_fp< scalar<S> >::value, dense<scalar<S>, D> >::type arbb::log ( const dense< scalar< S >, D > &  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 712 of file elementwise_dense_scalar.hpp.

template<arbb_scalar_type_t S, std::size_t D>
arbb ::detail::disable_if<!detail::is_scalar_fp< scalar<S> >::value, dense<scalar<S>, D> >::type arbb::log10 ( const dense< scalar< S >, D > &  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 738 of file elementwise_dense_scalar.hpp.

template<arbb_scalar_type_t S, std::size_t D>
arbb ::detail::disable_if<!detail::is_scalar_fp< scalar<S> >::value, dense<scalar<S>, D> >::type arbb::pow ( const typename uncaptured< scalar< S > >::type &  base,
const dense< scalar< S >, D > &  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 dense containers of the appropriate dimensionality and size with elements 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 dense container of the appropriate dimensionality and size with elements equal to the scalar argument provided.

Definition at line 4706 of file elementwise_dense_scalar.hpp.

template<arbb_scalar_type_t S, std::size_t D>
arbb ::detail::disable_if<!detail::is_scalar_fp< scalar<S> >::value, dense<scalar<S>, D> >::type arbb::pow ( const dense< scalar< S >, D > &  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 dense containers of the appropriate dimensionality and size with elements 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 4737 of file elementwise_dense_scalar.hpp.

template<arbb_scalar_type_t S, std::size_t D>
arbb ::detail::disable_if<!detail::is_scalar_fp< scalar<S> >::value, dense<scalar<S>, D> >::type arbb::pow ( const dense< scalar< S >, D > &  base,
const dense< scalar< S >, D > &  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 4765 of file elementwise_dense_scalar.hpp.

template<arbb_scalar_type_t S, std::size_t D>
arbb ::detail::disable_if<!detail::is_scalar_fp< scalar<S> >::value, dense<scalar<S>, D> >::type arbb::pow ( const scalar< S > &  base,
const dense< scalar< S >, D > &  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 dense containers of the appropriate dimensionality and size with elements 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 dense container of the appropriate dimensionality and size with elements equal to the scalar argument provided.

Definition at line 4798 of file elementwise_dense_scalar.hpp.

template<arbb_scalar_type_t S, std::size_t D>
arbb ::detail::disable_if<!detail::is_scalar_fp< scalar<S> >::value, dense<scalar<S>, D> >::type arbb::pow ( const dense< scalar< S >, D > &  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 dense containers of the appropriate dimensionality and size with elements 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 4828 of file elementwise_dense_scalar.hpp.

template<typename T , std::size_t D>
arbb ::detail::disable_if<detail::is_scalar< T >::value || detail::is_uncaptured_scalar< T >::value, dense<T, D> >::type arbb::exp ( const dense< T, D > &  value  )  [inline]

Applies exp(const T&) 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 user-defined types.

Parameters:

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

Definition at line 513 of file elementwise_dense_userdefined.hpp.

template<typename T , std::size_t D>
arbb ::detail::disable_if<detail::is_scalar< T >::value || detail::is_uncaptured_scalar< T >::value, dense<T, D> >::type arbb::exp10 ( const dense< T, D > &  value  )  [inline]

Applies exp10(const T&) 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 user-defined types.

Parameters:

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

Definition at line 554 of file elementwise_dense_userdefined.hpp.

template<typename T , std::size_t D>
arbb ::detail::disable_if<detail::is_scalar< T >::value || detail::is_uncaptured_scalar< T >::value, dense<T, D> >::type arbb::log ( const dense< T, D > &  value  )  [inline]

Applies log(const T&) 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 user-defined types.

Parameters:

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

Definition at line 677 of file elementwise_dense_userdefined.hpp.

template<typename T , std::size_t D>
arbb ::detail::disable_if<detail::is_scalar< T >::value || detail::is_uncaptured_scalar< T >::value, dense<T, D> >::type arbb::log10 ( const dense< T, D > &  value  )  [inline]

Applies log10(const T&) 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 user-defined types.

Parameters:

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

Definition at line 718 of file elementwise_dense_userdefined.hpp.

template<typename T , std::size_t D>
arbb ::detail::disable_if<detail::is_scalar< T >::value || detail::is_uncaptured_scalar< T >::value, dense<T, D> >::type arbb::pow ( const dense< T, D > &  base,
const dense< T, D > &  exponent 
) [inline]

Applies pow(const T&, const T&) 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 user-defined types.

Parameters:

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

Definition at line 3471 of file elementwise_dense_userdefined.hpp.

Submit feedback on this help topic

Copyright © 2010, Intel Corporation. All rights reserved.