Solves R %*% x = B (or t(R) %*% x = B when
lower = TRUE) for x, where R is a triangular
matrix. Dispatches to a GPU backend when R is an
amChol or adgeMatrix with a live
resident key and a capable backend.
Arguments
- R
An
amChol,adgeMatrix, or numeric matrix holding the triangular factor. Upper triangular by default.- B
Numeric vector or matrix; the right-hand side.
- lower
Logical scalar;
FALSE(default) treatsRas upper triangular,TRUEtreats it as lower triangular.