Skip to contents

Triangular solve

Usage

linalg_solve_triangular(A, B, ..., upper, left = TRUE, unitriangular = FALSE)

Arguments

A

tensor of shape (*, n, n) or (*, k, k) if left=TRUE) where * is zero or more batch dimensions.

B

right-hand side tensor of shape (*, n, k)

...

Currently ignored.

upper

whether A is an upper or lower triangular matrix.

left

wheter to solve the system AX=B or XA=B

unitriangular

if TRUE, the diagonal elements of A are assumed to be all equal to 1.