thrust::make_transform_input_output_iterator#
-
template<typename InputFunction, typename OutputFunction, typename Iterator>
transform_input_output_iterator<InputFunction, OutputFunction, Iterator> thrust::make_transform_input_output_iterator( - Iterator io,
- InputFunction input_function,
- OutputFunction output_function,
make_transform_input_output_iteratorcreates atransform_input_output_iteratorfrom anIteratoraInputFunctionand aOutputFunctionSee also
- Parameters:
io – An
Iteratorpointing to where the input toInputFunctionwill be read from and the result ofOutputFunctionwill be written toinput_function – An
InputFunctionto be executed on values read from the iteratoroutput_function – An
OutputFunctionto be executed on values written to the iterator