Message-ID: <971536df0902091846q1357410bpd134aeee8d2f7a02@mail.gmail.com>
Date: 2009-02-10T02:46:10Z
From: Gabor Grothendieck
Subject: general inverse solver?
In-Reply-To: <4990CE2A.10404@witthoft.com>
The forms of equations are limited but its not limited to just one:
> library(Ryacas)
Loading required package: XML
> x <- Sym("x")
> y <- Sym("y")
> Solve(List(x+y == 2, x-y == 0), List(x, y))
[1] "Starting Yacas!"
expression(list(list(x == 2 - y, y == 1)))
On Mon, Feb 9, 2009 at 7:45 PM, Carl Witthoft <carl at witthoft.com> wrote:
> Gabor G a ecrit:
> Check out the Ryacas package. There is a vignette with some
> examples.
>
> ----
> Which led me to the manuals for yacas itself. I'm guessing there may be a
> way to use yacas' "AND" construct to combine a few equations and then hope
> the Newton Solver can work with that, but it's not clear that will work.
>
> TK!Solver is nice because you aren't limited to linear equations, nor to
> equations which "fit" into a matrix structure, and because it's legal to
> have more than one unknown to be back-solved (assuming the problem is not
> under- or over-defined, of course).
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>