MCPcopy Create free account
hub / github.com/creatale/node-dv / cvInvert

Function cvInvert

deps/opencv/modules/core/src/lapack.cpp:1679–1688  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1677
1678
1679CV_IMPL double
1680cvInvert( const CvArr* srcarr, CvArr* dstarr, int method )
1681{
1682 cv::Mat src = cv::cvarrToMat(srcarr), dst = cv::cvarrToMat(dstarr);
1683
1684 CV_Assert( src.type() == dst.type() && src.rows == dst.cols && src.cols == dst.rows );
1685 return cv::invert( src, dst, method == CV_CHOLESKY ? cv::DECOMP_CHOLESKY :
1686 method == CV_SVD ? cv::DECOMP_SVD :
1687 method == CV_SVD_SYM ? cv::DECOMP_EIG : cv::DECOMP_LU );
1688}
1689
1690
1691CV_IMPL int

Callers

nothing calls this directly

Calls 2

cvarrToMatFunction · 0.85
typeMethod · 0.45

Tested by

no test coverage detected