Skip to main content

solve_matrix_in

Function solve_matrix_in 

Source
pub fn solve_matrix_in<T>(
    session: &mut dyn Engine,
    a: &Matrix<T>,
    b: &Matrix<T>,
) -> Result<Matrix<T>, BackendLinalgError>
where T: BackendLinalgScalar + Copy, Tensor: From<TypedTensor<T>>,
Expand description

Solve A X = B on a caller-held engine.

Same kernel, conversion and validation as solve_matrix, entered through the given session instead of the process-global one.

ยงErrors

Returns BackendLinalgError under the same conditions as solve_matrix.