backSubst static method

Mat backSubst(
  1. Mat w,
  2. Mat u,
  3. Mat vt,
  4. Mat rhs, {
  5. Mat? dst,
})

Implementation

static Mat backSubst(Mat w, Mat u, Mat vt, Mat rhs, {Mat? dst}) {
  final pdst = dst?.ptr ?? calloc<ccore.Mat>();
  cvRun(() => ccore.SVD_backSubst(w.ref, u.ref, vt.ref, rhs.ref, pdst));
  return dst ?? Mat.fromPointer(pdst);
}