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

Function transform_if

include/boost/compute/algorithm/transform_if.hpp:102–112  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

100/// \p predicate returns \c true to the range beginning at \p result.
101template<class InputIterator, class OutputIterator, class UnaryFunction, class Predicate>
102inline OutputIterator transform_if(InputIterator first,
103 InputIterator last,
104 OutputIterator result,
105 UnaryFunction function,
106 Predicate predicate,
107 command_queue &queue = system::default_queue())
108{
109 return detail::transform_if_impl(
110 first, last, result, function, predicate, false, queue
111 );
112}
113
114} // end compute namespace
115} // end boost namespace

Callers 2

BOOST_AUTO_TEST_CASEFunction · 0.85
copy_ifFunction · 0.85

Calls 1

transform_if_implFunction · 0.85

Tested by 1

BOOST_AUTO_TEST_CASEFunction · 0.68