public inbox for gsl-discuss@sourceware.org
 help / color / mirror / Atom feed
From: James Amundson <amundson@fnal.gov>
To: albie@alfarrabio.di.uminho.pt
Cc: Kenneth Geisshirt <kenneth@geisshirt.dk>,
	GSL Discussion list <gsl-discuss@sources.redhat.com>
Subject: Re: libevaluator library and GSL
Date: Fri, 05 Sep 2003 18:18:00 -0000	[thread overview]
Message-ID: <1062785918.21323.5.camel@abacus.dhcp.fnal.gov> (raw)
In-Reply-To: <1062749699.25098.2.camel@eremita.di.uminho.pt>

On Fri, 2003-09-05 at 03:14, Alberto Manuel Brandão Simões wrote:

> > I wrote a similar library about 10 years ago. Derivatives are not too 
> > difficult to implement, but the expressions become really ugly. Try to 
> > derive sin(x)^cos(x) w.r.t. x to see what I mean :-).
> 
> I have such a system in Numexp-core (http://numexp.sf.net), but as
> Kenneth said, derivatives become very ugly.
> > 
> > Simplifying expressions is a much harder job. Of course you can do 
> > simple things like (x-x) -> 0 and (1*x) -> x but (x+y)-x is not that easy.
> 
> I am doing some of these simple simplifications. Started writing a
> better simplifier by patter matching in Perl. It gives some interesting
> results, but is not a decent way.

If you are interested in symbolic algebra, there are fully functional
free software packages available. I would argue that Maxima is the most
capable of them. (I might be biased by the fact that I lead the Maxima
Project.)

If you are really interested in learning how simplifications work in
computer algebra systems, you should probably try reading at least one
book on the subject. I would recommend starting with Paradigms of
Artificial Intelligence Programming by Peter Norvig. There are many
others.

--Jim

  reply	other threads:[~2003-09-05 18:18 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-09-04 17:50 Aleksandar B. Samardzic
2003-09-04 18:26 ` Martin Jansche
2003-09-05  7:32   ` Aleksandar B. Samardzic
2003-09-05  8:04     ` Kenneth Geisshirt
2003-09-05 11:36       ` Alberto Manuel Brandão Simões
2003-09-05 18:18         ` James Amundson [this message]
2003-09-05 10:38 ` Brian Gough
2003-09-05 12:21   ` Aleksandar B. Samardzic
2003-09-05 12:47     ` Juan Jose Gomez Cadenas

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1062785918.21323.5.camel@abacus.dhcp.fnal.gov \
    --to=amundson@fnal.gov \
    --cc=albie@alfarrabio.di.uminho.pt \
    --cc=gsl-discuss@sources.redhat.com \
    --cc=kenneth@geisshirt.dk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).