Function solve_triangular

Source
pub fn solve_triangular(
    a: impl AsRef<Array>,
    b: impl AsRef<Array>,
    upper: impl Into<Option<bool>>,
) -> Result<Array>
Expand description

Computes the solution of a triangular system of linear equations AX = B

§Params

  • a: input array
  • b: input array
  • upper: whether the matrix is upper triangular. Default: false
  • stream: stream to execute the operation

§Returns

The unique solution to the system AX = B