RE: matheval update

new topic     » goto parent     » topic index » view thread      » older message » newer message

Matt Lewis wrote:
> 
> 
> > From: Al Getz [mailto:Xaxo at aol.com]
> 
> > What is your basic method of handling algebraic equations?
> > 
> > like:
> > 
> >     y=x*2*(z+9)
> 
> OK, I've had a chance to plug this into matheval, and after parsing and
> simplifying, it stores the expression as:
> 
> (Z * 2X) + 18X
> 
> Computationally, this is not as efficient as it could be.  I've just 
> changed
> parseval.e to allow simplification to be turned off during parsing.  You
> could alternatively do this to speed things up a little:
> 
> v := 2x
> w := z+9
> y := v*w
> 
> I plan to post the updated code later today.
> 
> Matt Lewis
> 

Hi again Matt,

Ok, i'll have to take a look at it.

I did the 'include' file thing with my evaluator, but
the problem was it could never be bound in that form.
I was hoping to find another way of doing it that would
be fast too, and could be bound.

Take care for now,
Al

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu