invert method
Sets inverse to reciprocal matrix, returning true if Matrix can be inverted. Geometrically, if Matrix maps from source to destination, inverse Matrix maps from destination to source. If Matrix can not be inverted, inverse is unchanged.
@param inverse storage for inverted Matrix; may be nullptr @return true if Matrix can be inverted
Implementation
(bool, Matrix) invert() {
final result = Matrix.create();
final success = c.mnn_cv_matrix_invert(ptr, result.ptr);
return (success, result);
}