993522598b
In class Mat, "static MatExpr Mat::zeros(int ndims, const int* sz, int type)" and "static MatExpr Mat::ones(int ndims, const int* sz, int type)" are declared but never implemented. That means we can see their manuals from "http://docs.opencv.org/modules/core/doc/basic_structures.html" but we can't use them. Here I tried to finish their implementation. I have also changed MatOp_Initializer::assign to make it support multi-dimension Mat. Test cases are added in test_math.cpp as well. |
||
---|---|---|
.. | ||
test_arithm.cpp | ||
test_countnonzero.cpp | ||
test_ds.cpp | ||
test_dxt.cpp | ||
test_eigen.cpp | ||
test_io.cpp | ||
test_main.cpp | ||
test_mat.cpp | ||
test_math.cpp | ||
test_misc.cpp | ||
test_operations.cpp | ||
test_precomp.cpp | ||
test_precomp.hpp | ||
test_rand.cpp |