similar to: symbolic computing example with Ryacas

Displaying 20 results from an estimated 1000 matches similar to: "symbolic computing example with Ryacas"

2017 Sep 19
1
symbolic computing example with Ryacas
Thanks for the response. Yes, I did study the vignette but did not understand it fully. Anyway, I have tried once again now. I am happy to say that I have got what I wanted. library(Ryacas) x <- Sym("x");U <- Sym("U");x0 <- Sym("x0");C <- Sym("C") my_func <- function(x,U,x0,C) { return (U/(1+exp(-(x-x0)/C)))} FirstDeriv <-
2017 Sep 19
0
symbolic computing example with Ryacas
Have you studied the "Introduction to Ryacas" vignette that come with the package? Cheers, Bert Bert Gunter "The trouble with having an open mind is that people keep coming along and sticking things into it." -- Opus (aka Berkeley Breathed in his "Bloom County" comic strip ) On Tue, Sep 19, 2017 at 2:37 AM, Vivek Sutradhara <viveksutra at gmail.com> wrote:
2006 Oct 16
2
New package Ryacas
Ryacas is an R interface to the free yacas computer algebra system. Ryacas allows one to send R expressions, unprocessed yacas strings and certain other R objects to a separate yacas process from R and get back the result. It also has facilities for manipulating yacas strings and R expressions destined for yacas processing. It can be used for exact arithmetic, symbolic math, ASCII pretty
2006 Oct 16
2
New package Ryacas
Ryacas is an R interface to the free yacas computer algebra system. Ryacas allows one to send R expressions, unprocessed yacas strings and certain other R objects to a separate yacas process from R and get back the result. It also has facilities for manipulating yacas strings and R expressions destined for yacas processing. It can be used for exact arithmetic, symbolic math, ASCII pretty
2006 Oct 16
2
New package Ryacas
Ryacas is an R interface to the free yacas computer algebra system. Ryacas allows one to send R expressions, unprocessed yacas strings and certain other R objects to a separate yacas process from R and get back the result. It also has facilities for manipulating yacas strings and R expressions destined for yacas processing. It can be used for exact arithmetic, symbolic math, ASCII pretty
2007 May 03
0
Ryacas now on CRAN
Ryacas is now available on CRAN. (Previously it was available on the Omegahat repository.) Ryacas is an R package that provides an interface from R to the yacas computer algebra system. It can be used for computer algebra, exact arithmetic, ASCII pretty printing and R to TeX output. R, yacas and Ryacas are all free software packages distributed under the GPL version 2. Ryacas is written in R.
2007 May 03
0
Ryacas now on CRAN
Ryacas is now available on CRAN. (Previously it was available on the Omegahat repository.) Ryacas is an R package that provides an interface from R to the yacas computer algebra system. It can be used for computer algebra, exact arithmetic, ASCII pretty printing and R to TeX output. R, yacas and Ryacas are all free software packages distributed under the GPL version 2. Ryacas is written in R.
2012 Sep 04
3
Ryacas
I am having issues with Ryacas errors. I searched and found this error was reported in 2006, but nothing since. > library(Ryacas) Loading required package: XML > yacas(expression(Factor(x^2-1))) [1] "Starting Yacas!" CommandLine(1) : Expecting ) closing bracket for sub-expression, but got ^ instead > yacas("D(x)Sin(x)") CommandLine(1) : Expecting ) closing bracket
2013 Jun 19
2
Ryacas loads but yacas has an error
Hello yet again, R People: I was working with Ryacas and yacas last night and all was well. Now this morning, I keep getting the following: > a <- Sym("a") > a Error in summary.connection(x) : invalid connection > When I go to yacas from the command line, it works fine. Any suggestions, please? I'm thinking that a port might be open, but here I have: >
2012 Dec 05
1
loading & using Ryacas
I'm having trouble loading Ryacas. I've downloaded and extracted Ryacas 0.2-9 (also tried Ryacas ) and yacas 1.0.63, have the latest version of R and have tried the following (this works for installing other packages): install.packages("Ryacas") library(Ryacas) install.packages("yacas") library(yacas) and get this: Warning message: package ‘yacas’ is not available
2006 Nov 23
4
Ryacas and fractions with simultaenously very large numerators and denominators
Dear All I am doing the following: > x <- yacas("3/2") > for (i in 2:400) + x <- yacas(paste(x,"*",x)) > x expression(Inf^1.260864167e+117/Inf^6.304320836e+116) > Eval(x) [1] NaN No luck this way. However, I am successful with > y <- yacas("(3/2)^400") > y expression(7.05507910865533e+190/2.58224987808691e+120) > Eval(y) [1]
2008 Jan 31
1
Ryacas
I'm tinkering around in Ryacas trying to find an easy way to get the first and second partial derivatives of mu and sigma from a normal distribution (actually a bitterly ugly likelihood but this example works for now). I've done all of the work in Mathematica, but I then need to manually write R code whereas I think Ryacas will give me the expression such that I can export for Tex and
2008 Jan 24
1
Ryacas behaving weird
There is either something wrong with either me or is Yacas/Ryacas doing odd things. See below I ask to simpify an expression and the there's output! If this is a simplification.. well.. Do you think there is something set wrong somewhere. Thanks. > library(Ryacas) Loading required package: XML > a=Sym("a") > N=Sym("N") > b=Sym("b") >
2013 Jun 19
2
evaluation of equations from Ryacas
Hello again. Now I have the following: > xx [1] "Solve(1 - R/100==(2*y)/10000,R)" > yacas(xx) expression(list(R == 100 * (1 - 2 * y/10000))) > I would like to put in a value for y and obtain R. I've tried more stuff with eval and Eval, but no luck yet. Any suggestions would be much appreciated. Thanks, Erin -- Erin Hodgess Associate Professor Department of Computer
2012 Mar 15
1
eigenvalues of matrices of partial derivatives with ryacas
Hello, I am trying to construct two matrices, F and V, composed of partial derivatives and then find the eigenvalues of F*Inverse(V). I have the following equations in ryacas notation: > library(Ryacas) > FIh <- Expr("betah*Sh*Iv") > FIv <- Expr("betav*Sv*Ih") > VIh <- Expr("(muh + gamma)*Ih") > VIv <- Expr("muv*Iv") I
2013 Feb 02
2
Question: write an R script with help information available to the user
Dear All, I would like to ask a question on how to incorporate into an R script help information for the user. I vaguely recall that I saw some instructions on an R manual, but am not able to figure them out. Hereunder is the basic setting: 1. I finished writing an R script, my_script.r, that is a function (the function is named "my_func") for a statistical procedure. This means that
2011 May 21
1
'apply' with additional class variable
Dear R gurus, I'm trying to solve what I assume is a fairly simple problem, but I'm having trouble finding the proper approach. I have a matrix where each column is some object (e.g. a car) and each row is a numeric measurement of a feature of said object (e.g. horse power, top speed, etc.). Let's also suppose that I know what make the car is (e.g. toyota, ford, etc.), stored in a
2017 Nov 05
2
What pattern string corresponds to CopyToReg?
Hmm, okay. Then what's the problem being reported here? I'm not sure what I'm supposed to do with "LLVM ERROR: Cannot select: t1: i16 = Constant<127>".BTW, the function is: ; ModuleID = 'return.c' source_filename = "return.c" target datalayout = "E-m:e-p:16:16:16-i1:16:16-i8:16:16-i16:16:16-i32:16:16-i64:16:16-S16-n16" target triple =
2017 Nov 05
2
What pattern string corresponds to CopyToReg?
Well, that's the thing: I thought that was CopyToReg. I don't know what the name of the node is to load one value into a register, so I don't know how to construct such a pattern. On Sat, Nov 4, 2017 at 9:23 PM Craig Topper <craig.topper at gmail.com> wrote: > Do you have a pattern for loading an i16 immediate into a 16-bit register? > > ~Craig > > On Sat, Nov 4,
2007 Sep 30
1
Ryacas check
When I do Rcmd check Ryacas on my Windows Vista system under R version 2.6.0 beta (2007-09-23 r42958) it checks out fine but here: http://cran.r-project.org/bin/windows/contrib/checkSummaryWin.html http://cran.r-project.org/bin/windows/contrib/2.5/check/Ryacas-check.log it complains about the XML package even though the XML package *is* declared in the DESCRIPTION file. What is