Miscellaneous Floating-point 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::floor (const dense< scalar< S >, D > &value)
 Applies floor(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::ceil (const dense< scalar< S >, D > &value)
 Applies ceil(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::round (const dense< scalar< S >, D > &value)
 Applies round(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::floor (const dense< T, D > &value)
 Applies floor(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::ceil (const dense< T, D > &value)
 Applies ceil(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::round (const dense< T, D > &value)
 Applies round(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::floor ( const dense< scalar< S >, D > &  value  )  [inline]

Applies floor(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 floor is returned.

Definition at line 660 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::ceil ( const dense< scalar< S >, D > &  value  )  [inline]

Applies ceil(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 ceiling is returned.

Definition at line 686 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::round ( const dense< scalar< S >, D > &  value  )  [inline]

Applies round(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 rounded value is returned.

Definition at line 790 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::floor ( const dense< T, D > &  value  )  [inline]

Applies floor(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 floor is returned.

Definition at line 595 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::ceil ( const dense< T, D > &  value  )  [inline]

Applies ceil(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 ceiling is returned.

Definition at line 636 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::round ( const dense< T, D > &  value  )  [inline]

Applies round(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 rounded value is returned.

Definition at line 800 of file elementwise_dense_userdefined.hpp.

Submit feedback on this help topic

Copyright © 2010, Intel Corporation. All rights reserved.