- Function: Solves a system of equations with a square upper or lower triangular invertible matrix A and multiple right-hand sides b.
- Formulas: is an upper triangular square matrix (or a lower triangular square matrix when upper is false), whose main diagonal does not contain 0 elements. and are two-dimensional matrices or batches of two-dimensional matrices. When the input is a batch, the returned output X is also a corresponding batch. If the main diagonal of contains 0 or elements close to 0, and unitriangular is false, the output may contain .
Each operator has calls. First, the [object Object] API is called to obtain the workspace size required for computation and the executor that contains the operator computation flow. Then, the [object Object] API is called to perform computation.
[object Object]
[object Object]
Parameters
[object Object]Return Value
[object Object]: status code. For details, see .The first-phase API implements input parameter validation. The following error codes may be returned.
[object Object]
- Determinism description: The default implementation of
[object Object]is deterministic.
The following example is for reference only. For details, see .
[object Object]