Bolt
1.3
C++ template library with support for OpenCL
|
Applies a binary function to each pair of elements from two input sequences. More...
Go to the source code of this file.
Namespaces | |
namespace | bolt |
Defining namespace for the Bolt project. | |
namespace | bolt::cl |
Namespace containing OpenCL related data types and functions. | |
Functions | |
template<typename InputIterator , typename OutputIterator , typename UnaryFunction > | |
void | bolt::cl::transform (::bolt::cl::control &ctl, InputIterator first, InputIterator last, OutputIterator result, UnaryFunction op, const std::string &user_code="") |
This version of transform applies a unary operation on input sequences and stores the result in the corresponding position in an output sequence.The input and output sequences can coincide, resulting in an in-place transformation. | |
template<typename InputIterator , typename OutputIterator , typename UnaryFunction > | |
void | bolt::cl::transform (InputIterator first, InputIterator last, OutputIterator result, UnaryFunction op, const std::string &user_code="") |
template<typename InputIterator1 , typename InputIterator2 , typename OutputIterator , typename BinaryFunction > | |
void | bolt::cl::transform (bolt::cl::control &ctl, InputIterator1 first1, InputIterator1 last1, InputIterator2 first2, OutputIterator result, BinaryFunction op, const std::string &user_code="") |
This version of transform applies a binary function to each pair of elements from two input sequences and stores the result in the corresponding position in an output sequence. The input and output sequences can coincide, resulting in an in-place transformation. | |
template<typename InputIterator1 , typename InputIterator2 , typename OutputIterator , typename BinaryFunction > | |
void | bolt::cl::transform (InputIterator1 first1, InputIterator1 last1, InputIterator2 first2, OutputIterator result, BinaryFunction op, const std::string &user_code="") |
Applies a binary function to each pair of elements from two input sequences.