determinant function

double determinant(
  1. InputArray mtx
)

Determinant returns the determinant of a square floating-point matrix.

For further details, please see: https://docs.opencv.org/master/d2/de8/group__core__array.html#gaf802bd9ca3e07b8b6170645ef0611d0c

Implementation

double determinant(InputArray mtx) {
  return cvRunArena<double>((arena) {
    final p = arena<ffi.Double>();
    cvRun(() => ccore.Mat_Determinant(mtx.ref, p));
    return p.value;
  });
}