CubbyFlow::Internal::Reduce< T, Rows, Cols, ReduceOperation, UnaryOperation, I > Struct Template Reference

#include <Core/Matrix/Matrix-Impl.hpp>

Static Public Member Functions

template<typename U = T>
static constexpr std::enable_if_t<(Cols==1), U > Call (const Matrix< T, Rows, 1 > &a, const T &init, ReduceOperation op, UnaryOperation uop)
 
template<typename U = T>
static constexpr std::enable_if_t<(Cols==1), U > Call (const Matrix< T, Rows, 1 > &a, ReduceOperation op, UnaryOperation uop)
 
static constexpr T Call (const Matrix< T, Rows, Cols > &a, const T &init, ReduceOperation op, UnaryOperation uop)
 
static constexpr T Call (const Matrix< T, Rows, Cols > &a, ReduceOperation op, UnaryOperation uop)
 
static constexpr T CallDiag (const Matrix< T, Rows, Cols > &a, const T &init, ReduceOperation op, UnaryOperation uop)
 

Member Function Documentation

◆ Call() [1/4]

template<typename T, size_t Rows, size_t Cols, typename ReduceOperation, typename UnaryOperation, size_t I>
template<typename U = T>
static constexpr std::enable_if_t<(Cols == 1), U> CubbyFlow::Internal::Reduce< T, Rows, Cols, ReduceOperation, UnaryOperation, I >::Call ( const Matrix< T, Rows, 1 > &  a,
const T &  init,
ReduceOperation  op,
UnaryOperation  uop 
)
inlinestatic

◆ Call() [2/4]

template<typename T, size_t Rows, size_t Cols, typename ReduceOperation, typename UnaryOperation, size_t I>
template<typename U = T>
static constexpr std::enable_if_t<(Cols == 1), U> CubbyFlow::Internal::Reduce< T, Rows, Cols, ReduceOperation, UnaryOperation, I >::Call ( const Matrix< T, Rows, 1 > &  a,
ReduceOperation  op,
UnaryOperation  uop 
)
inlinestatic

◆ Call() [3/4]

template<typename T, size_t Rows, size_t Cols, typename ReduceOperation, typename UnaryOperation, size_t I>
static constexpr T CubbyFlow::Internal::Reduce< T, Rows, Cols, ReduceOperation, UnaryOperation, I >::Call ( const Matrix< T, Rows, Cols > &  a,
const T &  init,
ReduceOperation  op,
UnaryOperation  uop 
)
inlinestatic

◆ Call() [4/4]

template<typename T, size_t Rows, size_t Cols, typename ReduceOperation, typename UnaryOperation, size_t I>
static constexpr T CubbyFlow::Internal::Reduce< T, Rows, Cols, ReduceOperation, UnaryOperation, I >::Call ( const Matrix< T, Rows, Cols > &  a,
ReduceOperation  op,
UnaryOperation  uop 
)
inlinestatic

◆ CallDiag()

template<typename T, size_t Rows, size_t Cols, typename ReduceOperation, typename UnaryOperation, size_t I>
static constexpr T CubbyFlow::Internal::Reduce< T, Rows, Cols, ReduceOperation, UnaryOperation, I >::CallDiag ( const Matrix< T, Rows, Cols > &  a,
const T &  init,
ReduceOperation  op,
UnaryOperation  uop 
)
inlinestatic

The documentation for this struct was generated from the following file: