m4ri_sys

Function mzd_solve_left

Source
pub unsafe extern "C" fn mzd_solve_left(
    a: *mut Mzd,
    b: *mut Mzd,
    cutoff: c_int,
    inconsistency_check: c_int,
) -> c_int
Expand description

Solves A X = B with A and B matrices.

The solution X is stored inplace on B.

param A Input matrix (overwritten). param B Input matrix, being overwritten by the solution matrix X param cutoff Minimal dimension for Strassen recursion (default: 0). param inconsistency_check decide wether or not to perform a check for incosistency (faster without but output not defined if system is not consistent). return 0 if a solution was found, -1 otherwise