|
Ne.app NeANT
The Ne.app NeANT User module of the NeANT distribution.
|
#include <numeric>#include <cstddef>#include <rw_alg_test.h>#include <rw_value.h>#include <rw_driver.h>
Go to the source code of this file.
Data Structures | |
| struct | plus< T > |
| struct | conv_to_T< T > |
| struct | Accumulator |
| struct | PartialSumBase |
| struct | PartialSum< InputIterator, OutputIterator > |
Functions | |
| template<class T > | |
| const plus< T > & | operator+ (const plus< T > &lhs, const plus< T > &rhs) |
| _RWSTD_NAMESPACE (std) | |
| UserClass | operator+ (const UserClass &lhs, const UserClass &rhs) |
| void | test_partial_sum (const std::size_t N, const PartialSumBase &alg, bool binop, bool same_seq) |
| template<class InputIterator , class OutputIterator > | |
| void | gen_partial_sum_test (const std::size_t N, const InputIterator &, const OutputIterator &, bool binop) |
| template<class InputIterator > | |
| void | gen_partial_sum_test (const std::size_t N, const InputIterator &it, bool binop) |
| void | gen_partial_sum_test (const std::size_t N, bool binop) |
| int | main (int argc, char *argv[]) |
Variables | |
| int | rw_opt_nloops = 64 |
| int | rw_opt_no_binary_op |
| int | rw_opt_no_input_iter |
| int | rw_opt_no_output_iter |
| int | rw_opt_no_fwd_iter |
| int | rw_opt_no_bidir_iter |
| int | rw_opt_no_rnd_iter |
| _RWSTD_NAMESPACE | ( | std | ) |
Definition at line 55 of file 26.partial.sum.cpp.
| void gen_partial_sum_test | ( | const std::size_t | N, |
| bool | binop | ||
| ) |
Definition at line 327 of file 26.partial.sum.cpp.
| void gen_partial_sum_test | ( | const std::size_t | N, |
| const InputIterator & | , | ||
| const OutputIterator & | , | ||
| bool | binop | ||
| ) |
Definition at line 291 of file 26.partial.sum.cpp.
| void gen_partial_sum_test | ( | const std::size_t | N, |
| const InputIterator & | it, | ||
| bool | binop | ||
| ) |
Definition at line 307 of file 26.partial.sum.cpp.
| int main | ( | int | argc, |
| char * | argv[] | ||
| ) |
Definition at line 381 of file 26.partial.sum.cpp.
Definition at line 49 of file 26.partial.sum.cpp.
Definition at line 78 of file 26.partial.sum.cpp.
| void test_partial_sum | ( | const std::size_t | N, |
| const PartialSumBase & | alg, | ||
| bool | binop, | ||
| bool | same_seq | ||
| ) |
Definition at line 182 of file 26.partial.sum.cpp.
| int rw_opt_nloops = 64 |
Definition at line 280 of file 26.partial.sum.cpp.
| int rw_opt_no_bidir_iter |
Definition at line 285 of file 26.partial.sum.cpp.
| int rw_opt_no_binary_op |
Definition at line 281 of file 26.partial.sum.cpp.
| int rw_opt_no_fwd_iter |
Definition at line 284 of file 26.partial.sum.cpp.
| int rw_opt_no_input_iter |
Definition at line 282 of file 26.partial.sum.cpp.
| int rw_opt_no_output_iter |
Definition at line 283 of file 26.partial.sum.cpp.
| int rw_opt_no_rnd_iter |
Definition at line 286 of file 26.partial.sum.cpp.