- Home
- About DUNE
- Download
- Documentation
- Community
- Development
Apply reduce with meta binary function to template. More...
#include <dune/common/tupleutility.hh>
Public Types | |
typedef ReduceTuple< F, Tuple, Seed, N-1 >::type | Accumulated |
typedef tuple_element< N-1, Tuple >::type | Value |
typedef F< Accumulated, Value > ::type | type |
Result of the reduce operation. |
Apply reduce with meta binary function to template.
For a tuple<T0,T1,...,TN-1,TN,...> the exported result is
F< ... F< F< F<Seed,T0>::type, T1>type, T2>type, ... TN-1>type
F | Binary meta function | |
Tuple | Apply reduce operation to this tuple | |
Seed | Initial value for reduce operation | |
N | Reduce the first N tuple elements |
typedef ReduceTuple<F, Tuple, Seed, N-1>::type Dune::ReduceTuple< F, Tuple, Seed, N >::Accumulated |
typedef F<Accumulated, Value>::type Dune::ReduceTuple< F, Tuple, Seed, N >::type |
Result of the reduce operation.
typedef tuple_element<N-1, Tuple>::type Dune::ReduceTuple< F, Tuple, Seed, N >::Value |
Generated on Fri Apr 29 2011 with Doxygen (ver 1.7.1) [doxygen-log,error-log].