CubbyFlow::Internal::Reduce< T, Rows, Cols, ReduceOperation, UnaryOperation, 0 > 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 >
template<typename U = T>
static constexpr std::enable_if_t<(Cols > 1), U> CubbyFlow::Internal::Reduce< T, Rows, Cols, ReduceOperation, UnaryOperation, 0 >::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 >
template<typename U = T>
static constexpr std::enable_if_t<(Cols == 1), U> CubbyFlow::Internal::Reduce< T, Rows, Cols, ReduceOperation, UnaryOperation, 0 >::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 >
static constexpr T CubbyFlow::Internal::Reduce< T, Rows, Cols, ReduceOperation, UnaryOperation, 0 >::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 >
static constexpr T CubbyFlow::Internal::Reduce< T, Rows, Cols, ReduceOperation, UnaryOperation, 0 >::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 >
static constexpr T CubbyFlow::Internal::Reduce< T, Rows, Cols, ReduceOperation, UnaryOperation, 0 >::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: