Hi all! Does anyone knows if it exists a "symbolic math" package in R, that allows to compute derivatives, integrals, etc.? Does exist a freeware version of Maple? Cheers, Marco [[alternative HTML version deleted]]
Hi,> -----Original Message----- > [mailto:r-help-bounces at stat.math.ethz.ch] On Behalf Of > Giannitrapani, Marco GSUK-GSSC > Subject: [R] symbolic math > > Does anyone knows if it exists a "symbolic math" package in > R, that allows to compute derivatives, integrals, etc.?Have a look at: ?D> > Does exist a freeware version of Maple?Not really a free version of Maple, but I use Maxima. You can find it at: http://maxima.sourceforge.net/ There you can do things like (just a simple, stupid example): (%i1) diff(3*x^2,x); (%o1) 6 x (%i2) integrate(6*x, x); 2 (%o2) 3 x (%i3) (the spacing is a bit unfortunate in my email now) Best, Roland +++++ This mail has been sent through the MPI for Demographic Rese...{{dropped}}
On Wednesday 26 October 2005 10:55, Giannitrapani, Marco GSUK-GSSC wrote:> Hi all! > > Does anyone knows if it exists a "symbolic math" package in R, that allows > to compute derivatives, integrals, etc.? > > Does exist a freeware version of Maple? > > Cheers, > > Marco >I've just learned yesterday the use of "expressions" objects to compute derivatives. There might be functions for doing integrals as well. 1) define an expression using whatever symbol you like example:> exp1 <- expression(cos(x)+sin(y))2) Use function D() to perform symbolic derivatives: example:> D(exp1,"x")-sin(x)> D(exp1,"y")cos(x) You can find this stuff in "R for Beginners", by Emmanuel Paradis (http://www.r-project.org/) Cheers, J -- Dr James Foadi PhD York Structural Biology Laboratory (YSBL) Department of Chemistry University of York Heslington York YO10 5YW UK
> -----Original Message----- > From: r-help-bounces at stat.math.ethz.ch [SMTP:r-help-bounces at stat.math.ethz.ch] On Behalf Of Giannitrapani, Marco GSUK-GSSC > Sent: Wednesday, October 26, 2005 7:56 AM > To: r-help at stat.math.ethz.ch > Subject: [R] symbolic math > > Hi all! > > Does anyone knows if it exists a "symbolic math" package in R, that allows to compute derivatives, integrals, etc.? > > Does exist a freeware version of Maple? >-------- I think Maxima is pretty cool: http://maxima.sourceforge.net/ Ruben
Yet another option is "axiom" In a debian-type linux: apt-get install axiom On Wed, 26 Oct 2005, Ruben Roa wrote:>> -----Original Message----- >> From: r-help-bounces at stat.math.ethz.ch [SMTP:r-help-bounces at stat.math.ethz.ch] On Behalf Of Giannitrapani, Marco GSUK-GSSC >> Sent: Wednesday, October 26, 2005 7:56 AM >> To: r-help at stat.math.ethz.ch >> Subject: [R] symbolic math >> >> Hi all! >> >> Does anyone knows if it exists a "symbolic math" package in R, that allows to compute derivatives, integrals, etc.? >> >> Does exist a freeware version of Maple? >> > -------- > I think Maxima is pretty cool: > http://maxima.sourceforge.net/ > Ruben > > ______________________________________________ > R-help at stat.math.ethz.ch mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html > >Paulo Justiniano Ribeiro Jr LEG (Laborat?rio de Estat?stica e Geoinforma??o) Departamento de Estat?stica Universidade Federal do Paran? Caixa Postal 19.081 CEP 81.531-990 Curitiba, PR - Brasil Tel: (+55) 41 3361 3573 Fax: (+55) 41 3361 3141 e-mail: paulojus at est.ufpr.br http://www.est.ufpr.br/~paulojus
Apparently Analagous Threads
- Gauss-Krüger coordinates system
- probs in installing packages with R 2.2.0
- symbolic and algebraic computation
- Is there a facility in R similar to MatLab "syms" that allows using unevaluated numeric symbols in matrices?
- linear programming in R | limits to what it can do, or my mistake?