Trigonometric 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::acos (const dense< scalar< S >, D > &value)
 Applies acos(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::asin (const dense< scalar< S >, D > &value)
 Applies asin(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::atan (const dense< scalar< S >, D > &value)
 Applies atan(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::cos (const dense< scalar< S >, D > &value)
 Applies cos(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::cosh (const dense< scalar< S >, D > &value)
 Applies cosh(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::sin (const dense< scalar< S >, D > &value)
 Applies sin(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::sinh (const dense< scalar< S >, D > &value)
 Applies sinh(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::tan (const dense< scalar< S >, D > &value)
 Applies tan(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::tanh (const dense< scalar< S >, D > &value)
 Applies tanh(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::atan2 (const typename uncaptured< scalar< S > >::type &x, const dense< scalar< S >, D > &y)
 Applies atan2(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::atan2 (const dense< scalar< S >, D > &x, const typename uncaptured< scalar< S > >::type &y)
 Applies atan2(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::atan2 (const dense< scalar< S >, D > &x, const dense< scalar< S >, D > &y)
 Applies atan2(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::atan2 (const scalar< S > &x, const dense< scalar< S >, D > &y)
 Applies atan2(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::atan2 (const dense< scalar< S >, D > &x, const scalar< S > &y)
 Applies atan2(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::acos (const dense< T, D > &value)
 Applies acos(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::asin (const dense< T, D > &value)
 Applies asin(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::atan (const dense< T, D > &value)
 Applies atan(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::cos (const dense< T, D > &value)
 Applies cos(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::cosh (const dense< T, D > &value)
 Applies cosh(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::sin (const dense< T, D > &value)
 Applies sin(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::sinh (const dense< T, D > &value)
 Applies sinh(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::tan (const dense< T, D > &value)
 Applies tan(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::tanh (const dense< T, D > &value)
 Applies tanh(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::atan2 (const dense< T, D > &x, const dense< T, D > &y)
 Applies atan2(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::acos ( const dense< scalar< S >, D > &  value  )  [inline]

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

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

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

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

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

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

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

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

Applies cosh(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 hyperbolic cosine is returned.

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

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

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

Applies sinh(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 hyperbolic sine is returned.

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

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

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

Applies tanh(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 hyperbolic tangent is returned.

Definition at line 946 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::atan2 ( const typename uncaptured< scalar< S > >::type &  x,
const dense< scalar< S >, D > &  y 
) [inline]

Applies atan2(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:

x The denominator of the arctangent expression evaluated.
y The numerator of the arctangent expression evaluated. 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 1546 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::atan2 ( const dense< scalar< S >, D > &  x,
const typename uncaptured< scalar< S > >::type &  y 
) [inline]

Applies atan2(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:

x The denominator of the arctangent expression evaluated.
y The numerator of the arctangent expression evaluated.

Definition at line 1577 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::atan2 ( const dense< scalar< S >, D > &  x,
const dense< scalar< S >, D > &  y 
) [inline]

Applies atan2(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:

x The denominator of the arctangent expression evaluated.
y The numerator of the arctangent expression evaluated.

Definition at line 1605 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::atan2 ( const scalar< S > &  x,
const dense< scalar< S >, D > &  y 
) [inline]

Applies atan2(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:

x The denominator of the arctangent expression evaluated.
y The numerator of the arctangent expression evaluated. 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 1638 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::atan2 ( const dense< scalar< S >, D > &  x,
const scalar< S > &  y 
) [inline]

Applies atan2(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:

x The denominator of the arctangent expression evaluated.
y The numerator of the arctangent expression evaluated.

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

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

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

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

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

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

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

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

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

Applies cosh(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 hyperbolic cosine is returned.

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

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

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

Applies sinh(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 hyperbolic sine is returned.

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

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

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

Applies tanh(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 hyperbolic tangent is returned.

Definition at line 1046 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::atan2 ( const dense< T, D > &  x,
const dense< T, D > &  y 
) [inline]

Applies atan2(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:

x The denominator of the arctangent expression evaluated.
y The numerator of the arctangent expression evaluated.

Definition at line 1531 of file elementwise_dense_userdefined.hpp.

Submit feedback on this help topic

Copyright © 2010, Intel Corporation. All rights reserved.