[R] general inverse solver?
erich.neuwirth at univie.ac.at
Tue Feb 10 15:01:13 CET 2009
My main problem is that yacas can only factorize polynomials in one
Any CAS which is not able to factor a^2 - b^2 into (a+b)*(a-B)
for me is less than satisfactory.
On Feb 10, 2009, at 1:51 PM, Gabor Grothendieck wrote:
> Yacas was completely rewritten in java (Ryacas interfaces to the
> C version) since the Ryacas project started so I would not exactly
> characterize yacas as dead. The work that is going on in yacas
> may not have high visibility but that does not mean there is none.
> Also while Maxima is more sophisticated in terms of algorithms,
> yacas is actually more sophisticated from the viewpoint of its
> language which borrows ideas from both imperative and prolog
> and its interfaces are more sophisticated (it is one of the few CAS
> that developed an OpenMath interface) and its socket server is
> used by the Ryacas interface. yacas can also translate math
> to TeX and do exact arithmetic.
> Also to put this in the correct context, yacas does seem capable of
> answering the majority of questions that are posed on r-help that need
> a CAS in the answer. From a practical viewpoint it does seem to have
> the facilities that are most often needed. The Ryacas vignette has
> a survey of some of its algebra capabilities.
> That being said, without taking away from yacas there is work going
> on to
> interface R to a second CAS.
> On Tue, Feb 10, 2009 at 2:33 AM, Hans W. Borchers
> <hwborchers at googlemail.com> wrote:
>> I know that Ryacas is promoted here whenever requests about
>> symbolic algebra
>> or calculus appear on the R-help list. But to say the truth, Yacas
>> itself is
>> a very very limited Computer Algebra System and looking onto its
>> home page
>> it appears the development will stop or has stopped anyway.
>> It would be fair to clearly state that there is no R package to solve
>> somewhat more involved symbolic mathematical problems. One could
>> then point
>> the requestor to one of the open source Computer Algebra Systems
>> (CAS) such
>> as Maxima or Axiom.
>> Interestingly, the free Math Toolbox Euler by Grossmann has
>> Maxima into its numerical environment in a way that is really
>> useful for
>> numerical and symbolic computations. I could imagine that in a
>> similar way
>> Maxima can be integrated into R bringing the full power of computer
>> to the R community.
>> Hans W. Borchers
>> ABB Corporate Research
>> "The Euler Mathematical Toolbox is a powerful, versatile, and open
>> software for numerical and symbolic computations ... Euler supports
>> mathematics using the open algebra system Maxima."
>> Gabor Grothendieck wrote:
>>> The forms of equations are limited but its not limited to just one:
>>> Loading required package: XML
>>>> x <- Sym("x")
>>>> y <- Sym("y")
>>>> Solve(List(x+y == 2, x-y == 0), List(x, y))
>>>  "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>
>>>> Gabor G a ecrit:
>>>> Check out the Ryacas package. There is a vignette with some
>>>> Which led me to the manuals for yacas itself. I'm guessing there
>>>> may be
>>>> way to use yacas' "AND" construct to combine a few equations and
>>>> 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
>>>> PLEASE do read the posting guide
>>>> and provide commented, minimal, self-contained, reproducible code.
>> View this message in context: http://www.nabble.com/general-inverse-solver--tp21902788p21928972.html
>> Sent from the R help mailing list archive at Nabble.com.
>> R-help at r-project.org mailing list
>> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
>> and provide commented, minimal, self-contained, reproducible code.
> R-help at r-project.org mailing list
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
Erich Neuwirth, University of Vienna
Faculty of Computer Science
Computer Supported Didactics Working Group
Visit our SunSITE at http://sunsite.univie.ac.at
Phone: +43-1-4277-39464 Fax: +43-1-4277-39459
More information about the R-help