linalg_solve_triangular {torch}R Documentation

Triangular solve

Description

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.

See Also

Other linalg: linalg_cholesky_ex(), linalg_cholesky(), linalg_det(), linalg_eigh(), linalg_eigvalsh(), linalg_eigvals(), linalg_eig(), linalg_householder_product(), linalg_inv_ex(), linalg_inv(), linalg_lstsq(), linalg_matrix_norm(), linalg_matrix_power(), linalg_matrix_rank(), linalg_multi_dot(), linalg_norm(), linalg_pinv(), linalg_qr(), linalg_slogdet(), linalg_solve(), linalg_svdvals(), linalg_svd(), linalg_tensorinv(), linalg_tensorsolve(), linalg_vector_norm()


[Package torch version 0.13.0 Index]