Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

yacasTranslations

Yacas translations


Description

Translations from R to the yacas computer algebra system.

Note

The translation process occurs in several steps. If the input to the yacas function is an expression then it is translated to a valid yacas character string (otherwise, it is sent to yacas unprocessed). Yacas then processes the string and if retclass="expression" it is translated back to an R expression (otherwise it is sent back unprocessed). Currently supported translations are:

CONSTANTS
R yacas
= =====
pi Pi
OPERATORS
R yacas
= =====
7 \%\% 3 Mod(7, 3)
7 \%\/\% 3 Div(7, 3)
FUNCTIONS
R yacas
= =====
sin(x) Sin(x)
cos(x) Cos(x)
tan(x) Tan(x)
asin(x) ArcSin(x)
acos(x) ArcCos(x)
atan(x) ArcTan(x)
exp(x) Exp(x)
sqrt(x) Sqrt(x)
log(x) Ln(x)
choose(n, k) Bin(n, k)
gamma(x) Gamma(x)
deriv(sin, x) Deriv(x)Sin(x)
integrate(f, a, b) Integrate(x, a, b)f(x)
list() List()
factorial(n) n!

Note the Limit example in demo(Ryacas0) for adding translations on the fly.

The complete table under development.

Author(s)

Rob J Goedman

References


Ryacas0

Legacy 'Ryacas' (Interface to 'Yacas' Computer Algebra System)

v0.4.3
GPL-2
Authors
Mikkel Meyer Andersen [aut, cre, cph], Rob Goedman [aut, cph], Gabor Grothendieck [aut, cph], Søren Højsgaard [aut, cph], Grzegorz Mazur [aut, cph], Ayal Pinkus [aut, cph], Nemanja Trifunovic [cph] (UTF-8 part of yacas (src/yacas/include/yacas/utf8*))
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.