yacasTranslations           package:Ryacas           R Documentation

_Y_a_c_a_s _t_r_a_n_s_l_a_t_i_o_n_s

_D_e_s_c_r_i_p_t_i_o_n:

     Translations from R to the yacas computer algebra system.

_N_o_t_e:

     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(Ryacas) for adding translations on
     the fly.

     The complete table under development.

_A_u_t_h_o_r(_s):

     Rob J Goedman

_R_e_f_e_r_e_n_c_e_s:

     <URL: http://yacas.sourceforge.net>

