solve_triangular

Function solve_triangular 

Source
pub fn solve_triangular<F>(
    a: &ArrayView2<'_, F>,
    b: &ArrayView2<'_, F>,
    lower: bool,
    trans: u8,
    unit_diagonal: bool,
    _overwrite_b: bool,
    check_finite: bool,
) -> LinalgResult<Array2<F>>
where F: Float + Sum + NumAssign + Send + Sync + ScalarOperand + 'static,
Expand description

Solve triangular system (SciPy-compatible interface)

§Arguments

  • a - Triangular matrix
  • b - Right-hand side
  • lower - Whether a is lower triangular
  • trans - Type of system to solve (0: Ax=b, 1: A^Tx=b, 2: A^Hx=b)
  • unit_diagonal - Whether to assume unit diagonal
  • overwrite_b - Allow overwriting data in b (currently ignored)
  • check_finite - Whether to check that input matrices contain only finite numbers

§Returns

  • Solution to the triangular system