solve_triangular | R Documentation |
Solve lower or upper triangular system
solve_lower_triangular(a, b, ...)
solve_upper_triangular(a, b, ...)
a |
caracas_symbol |
b |
If provided, either a caracas_symbol (if not, |
... |
Not used |
if (has_sympy()) {
A <- matrix_sym(3, 3)
A[upper.tri(A)] <- 0
solve_lower_triangular(A) |> simplify()
A <- matrix_sym(3, 3)
A[lower.tri(A)] <- 0
solve_upper_triangular(A) |> simplify()
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.