Re: Math_Function

From: Date: Wed, 25 Jan 2006 20:22:08 +0000
Subject: Re: Math_Function
References: 1 2 3 4  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-41089@lists.php.net to get a copy of this message
Hi, Ants Aasma wrote : > Math_Expression/Function IMO, we shouldn't focus on math functions, but extend it to math expressions, that would increase the applications' possibilities. So Math_Function, which is now based on functions, wouldn't fit as it is right now. I imagined the Math_Expression package more like a tokenizer/lexer that just interpret low level expression (string) into a high level format (which is still to discuss). > > I included derivatives in the expression package because it just > seemed so natural. Getting the derivative of an expression is just an operation among others (integrals, equations, manipulation, ...), so I *really* think this shouldn't be implemented in the base Expression package. > Having derivatives as a separate package means basically making a > parallel class hierarchy to available mathematical functions. I think we can get over it using an appropriate design. And somebody that just wants to use a children package, say Simplify, wouldn't have to carry derivative support. Talking about applications, I would really like to have a package that draws an expression, and create an image of it. It would make life easier for math publishers. Kind regards -- Etienne Kneuss http://www.colder.ch/ colder@php.net

« previous php.pear.dev (#41089) next »