SVDecomp function

(Mat, Mat, Mat) SVDecomp(
  1. InputArray src, {
  2. OutputArray? w,
  3. OutputArray? u,
  4. OutputArray? vt,
  5. int flags = 0,
})

SVDecomp

Implementation

(Mat w, Mat u, Mat vh) SVDecomp(
  InputArray src, {
  OutputArray? w,
  OutputArray? u,
  OutputArray? vt,
  int flags = 0,
}) {
  w ??= Mat.empty();
  u ??= Mat.empty();
  vt ??= Mat.empty();
  cvRun(() => ccore.cv_SVDecomp(src.ref, w!.ref, u!.ref, vt!.ref, flags, ffi.nullptr));
  return (w, u, vt);
}