thrust::make_tabulate_output_iterator

Defined in thrust/iterator/tabulate_output_iterator.h

template<typename BinaryFunction>
tabulate_output_iterator<BinaryFunction> thrust::make_tabulate_output_iterator(BinaryFunction fun)

make_tabulate_output_iterator creates a tabulate_output_iterator from a BinaryFunction.

Parameters

fun – The BinaryFunction invoked whenever assigning to a dereferenced tabulate_output_iterator