pub fn dsolve<T>(
a: &ArrayView2<'_, T>,
b: &ArrayView1<'_, T>,
allow_lsq: bool,
) -> Array1<T>
Expand description
Solve a linear system of equations, ax = b, using Gaussian elimination and partial pivoting.
a
is a 2d-array.b
is a 1d-array.allow_lsq
can be set totrue
if the number of rows ina
is greater than its number of columns.