MCPcopy Create free account
hub / github.com/boostorg/compute / transform

Function transform

include/boost/compute/algorithm/transform.hpp:34–46  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

32/// \see copy()
33template<class InputIterator, class OutputIterator, class UnaryOperator>
34inline OutputIterator transform(InputIterator first,
35 InputIterator last,
36 OutputIterator result,
37 UnaryOperator op,
38 command_queue &queue = system::default_queue())
39{
40 return copy(
41 ::boost::compute::make_transform_iterator(first, op),
42 ::boost::compute::make_transform_iterator(last, op),
43 result,
44 queue
45 );
46}
47
48/// \overload
49template<class InputIterator1,

Callers 15

mainFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85
BOOST_AUTO_TEST_CASEFunction · 0.85
BOOST_AUTO_TEST_CASEFunction · 0.85
BOOST_AUTO_TEST_CASEFunction · 0.85
BOOST_AUTO_TEST_CASEFunction · 0.85
BOOST_AUTO_TEST_CASEFunction · 0.85
CHECK_RANGE_EQUALFunction · 0.85

Calls 4

copyFunction · 0.85
make_transform_iteratorFunction · 0.85
make_zip_iteratorFunction · 0.85
unpackFunction · 0.85

Tested by 15

BOOST_AUTO_TEST_CASEFunction · 0.68
BOOST_AUTO_TEST_CASEFunction · 0.68
BOOST_AUTO_TEST_CASEFunction · 0.68
BOOST_AUTO_TEST_CASEFunction · 0.68
BOOST_AUTO_TEST_CASEFunction · 0.68
CHECK_RANGE_EQUALFunction · 0.68
BOOST_AUTO_TEST_CASEFunction · 0.68
BOOST_AUTO_TEST_CASEFunction · 0.68
BOOST_AUTO_TEST_CASEFunction · 0.68
BOOST_AUTO_TEST_CASEFunction · 0.68
BOOST_AUTO_TEST_CASEFunction · 0.68