Accuracy and error analysis (was Re: [Maxima] primes)
Subject: Accuracy and error analysis (was Re: [Maxima] primes)
From: C Y
Date: Sat, 14 May 2005 15:44:29 -0700 (PDT)
--- Robert Dodier wrote:
> > With a full set of pre-processing / post-processing hooks
> > analogous to Mma's $PreRead, $Pre, $PrePrint, $Post, one
> > can then easily arrange for with_error_analysis() to be
> > wrapped around every expression if this is desired.
>
> I'm afraid this makes me rather nervous. I don't think
> global hooks are necessary for implementing error analysis,
> and they bring the potential for just the kind of rippling
> effects that I'd like to avoid.
No need to be nervous about the mechanisms, as such - it's the
application of them that is occasionally tricky, and that is up to the
user/programmer. The mechanisms are totally dormant until someone
deliberately starts playing with them. With post_eval_functions, I
once or twice inadvertantly programmed in something that caused a
looping situation, for example. But used properly, it makes unit
simplification operate automatically and very smoothly. Think of
having pre/post processing hooks as having steak knives available in
the kitchen - you sometimes need 'em to slice up a steak, but you don't
use them when eating a regular meal.
CY
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com