Utopia 2
Framework for studying models of complex & adaptive systems.
Loading...
Searching...
No Matches
Functions
std Namespace Reference

Functions

template<class InputIt , class OutputIt >
OutputIt copy (const Utopia::ExecPolicy policy, InputIt first, InputIt last, OutputIt d_first)
 Copy the input range to a new range.
 
template<class InputIt , class UnaryFunction >
void for_each (const Utopia::ExecPolicy policy, InputIt first, InputIt last, UnaryFunction f)
 Apply a function to a range.
 
template<class InputIt , class OutputIt , class UnaryOperation >
OutputIt transform (const Utopia::ExecPolicy policy, InputIt first1, InputIt last1, OutputIt d_first, UnaryOperation unary_op)
 Apply a unary operator to a range and store the result in a new range.
 
template<class InputIt1 , class InputIt2 , class OutputIt , class BinaryOperation >
OutputIt transform (const Utopia::ExecPolicy policy, InputIt1 first1, InputIt1 last1, InputIt2 first2, OutputIt d_first, BinaryOperation binary_op)
 Apply a binary operator to two ranges and store the result in a new range.