|
cyqlone
develop
Fast, parallel and vectorized solver for linear systems with optimal control structure.
|
#include <cyqlone/reduce.hpp>
Definition at line 59 of file reduce.hpp.
Classes | |
| struct | result |
| Accumulator. More... | |
Public Types | |
| using | result |
| Accumulator. | |
Public Member Functions | |
| result | operator() (result accum, T t) const |
| Update the accumulator with a new value. | |
| result | operator() (result accum, result t) const |
| Combine two accumulators. | |
Static Public Member Functions | |
| static result | zero () |
| Identity element for the reduction. | |
| static result_simd | zero_simd () |
| using cyqlone::norms< T, void >::result |
Accumulator.
Definition at line 28 of file reduce.hpp.
|
inline |
Update the accumulator with a new value.
Definition at line 80 of file reduce.hpp.
|
inline |
Combine two accumulators.
Definition at line 88 of file reduce.hpp.
|
inlinestatic |
Identity element for the reduction.
Definition at line 94 of file reduce.hpp.
|
inlinestatic |
Definition at line 55 of file reduce.hpp.