Description Usage Arguments Author(s) References Examples
Executes Yacas
expressions using Ryacas
with different output options.
1 |
x |
Character string. |
R |
Logical.
If |
format |
Character string.
Only used when |
simplify |
Logical. Simplify symbolic results. |
Ivan Jacob Agaloos Pesigan
YACAS (Yet Another Computer Algebra System) - http://www.yacas.org/
Ryacas - http://r-cas.github.io/ryacas/
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 | A <- Ryacas::ysym(
matrix(c("a", "c", "b", "d"), ncol = 2)
)
x <- paste0("Determinant(", A, ")")
Exe(x, R = FALSE, format = "ysym")
Exe(x, R = FALSE, format = "str")
Exe(x, R = FALSE, format = "tex")
Exe(x, R = TRUE)
a <- 1
b <- 2
c <- 3
d <- 4
eval(Exe(x, R = TRUE))
# `det.yac_symbol` from `Ryacas`
Ryacas::det(A)
# `det` from `base` R
A <- matrix(c(a, c, b, d), ncol = 2)
det(A)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.