Go to the documentation of this file.
25 template <
class TScalar>
30 template <
class TReduce,
class TFunc>
35 template <
class TReduce,
class TFunc>
37 TScalar
const& a, TScalar
const& b, TReduce&
reduce, TFunc
const& f) {
42 template <::sophus::concepts::EigenDenseType TT>
45 template <
class TReduce,
class TFunc>
47 for (
int r = 0; r < v.rows(); ++r) {
48 for (
int c = 0; c < v.cols(); ++c) {
54 template <
class TReduce,
class TFunc>
56 TT
const& a, TT
const& b, TReduce&
reduce, TFunc
const& f) {
57 for (
int r = 0; r < a.rows(); ++r) {
58 for (
int c = 0; c < a.cols(); ++c) {
59 f(a(r, c), b(r, c),
reduce);
67 template <
class TPo
int,
class TFunc,
class TReduce>
72 template <
class TPo
int,
class TFunc,
class TReduce>
74 TPoint
const& a, TPoint
const& b, TReduce&
reduce, TFunc&&
func) {
78 template <
class TPo
int,
class TFunc,
class TReduce>
79 auto reduce(TPoint
const& x, TReduce
const& initial, TFunc&&
func) -> TReduce {
85 template <
class TPo
int,
class TFunc,
class TReduce>
87 TPoint
const& a, TPoint
const& b, TReduce
const& initial, TFunc&&
func)
Image MutImage, owning images types.
Definition: num_diff.h:20
TScalar Aggregate
Definition: reduce.h:28
static void implBinary(TT const &a, TT const &b, TReduce &reduce, TFunc const &f)
Definition: reduce.h:55
static void implBinary(TScalar const &a, TScalar const &b, TReduce &reduce, TFunc const &f)
Definition: reduce.h:36
auto reduce(TPoint const &x, TReduce const &initial, TFunc &&func) -> TReduce
Definition: reduce.h:79
static void implUnary(TT const &v, TReduce &reduce, TFunc const &f)
Definition: reduce.h:46
void reduceArg(TPoint const &x, TReduce &reduce, TFunc &&func)
Definition: reduce.h:68
func
Definition: event_service_recorder.py:420
static void implUnary(TScalar const &s, TReduce &reduce, TFunc const &f)
Definition: reduce.h:31