OpenCV  4.1.0
Open Source Computer Vision
Macros | Functions
operations.hpp File Reference
#include <cstdio>

Macros

#define CV_FORMAT_PRINTF(A, B)
 
#define CV_MAT_AUG_OPERATOR(op, cvop, A, B)
 
#define CV_MAT_AUG_OPERATOR1(op, cvop, A, B)   static inline A& operator op (A& a, const B& b) { cvop; return a; }
 
#define CV_MAT_AUG_OPERATOR_T(op, cvop, A, B)
 
#define CV_MAT_AUG_OPERATOR_TN(op, cvop, A)
 

Functions

template<typename _Tp , class _EqPredicate >
int partition (const std::vector< _Tp > &_vec, std::vector< int > &labels, _EqPredicate predicate=_EqPredicate())
 Splits an element set into equivalency classes.
 

Macro Definition Documentation

#define CV_FORMAT_PRINTF (   A,
 
)
#define CV_MAT_AUG_OPERATOR (   op,
  cvop,
  A,
 
)
Value:
CV_MAT_AUG_OPERATOR1(op, cvop, A, B) \
CV_MAT_AUG_OPERATOR1(op, cvop, const A, B)
#define CV_MAT_AUG_OPERATOR1 (   op,
  cvop,
  A,
 
)    static inline A& operator op (A& a, const B& b) { cvop; return a; }
#define CV_MAT_AUG_OPERATOR_T (   op,
  cvop,
  A,
 
)
Value:
template<typename _Tp> CV_MAT_AUG_OPERATOR1(op, cvop, A, B) \
template<typename _Tp> CV_MAT_AUG_OPERATOR1(op, cvop, const A, B)
#define CV_MAT_AUG_OPERATOR_TN (   op,
  cvop,
 
)
Value:
template<typename _Tp, int m, int n> static inline A& operator op (A& a, const Matx<_Tp,m,n>& b) { cvop; return a; } \
template<typename _Tp, int m, int n> static inline const A& operator op (const A& a, const Matx<_Tp,m,n>& b) { cvop; return a; }