diag_ {caracas} | R Documentation |
Symbolic diagonal matrix
diag_(x, n = 1L, declare_symbols = TRUE, ...)
x |
Character vector with diagonal |
n |
Number of times |
declare_symbols |
Passed on to |
... |
Passed on to |
if (has_sympy()) { diag_(c("a", "b", "c")) diag_("a", 2) }