1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-30 07:43:03 +04:00

Add missing Mat_<_Tp>::zeros(int _ndims, const int* _sizes)

This commit is contained in:
Vincent Rabaud
2025-05-16 10:48:53 +02:00
parent 2af8d0317e
commit 1a624efc0f
2 changed files with 13 additions and 0 deletions
@@ -3024,6 +3024,12 @@ Mat_<_Tp>& Mat_<_Tp>::operator = (const MatExpr& e)
return *this;
}
template<typename _Tp> inline
MatExpr Mat_<_Tp>::zeros(int _ndims, const int* _sizes)
{
return Mat::zeros(_ndims, _sizes, traits::Type<_Tp>::value);
}
template<typename _Tp> inline
MatExpr Mat_<_Tp>::zeros(int rows, int cols)
{