Re: RESTRICTING DOMAINS
[Prev][Next][Index][Thread]
Re: RESTRICTING DOMAINS
On Sun, 22 Sep 1996, Shawn D'Alimonte wrote:
> On Sat, 21 Sep 1996, John Logan wrote:
>
> > at least on the 85 inequalities can be combined using 'and' and 'or'.
> > The commands are not case sensitive. Here is an eample for the above
> > equation:
> > y2=x^3*(x>0 and x<1)
>
> I am aware of hat, but I find it easier to combine them by multiplication.
> Since TRUE evaluates to 1 and FLASE to 0, multiplying comparisions is the
> same as using the and operation. I beleive it also calculates faster than
> using he and operator.
I would test that carefully. It might be that the 85 can spot
the trivial multiplication and not actually multiply, but if
it does actually multiply, multiplication is a LOT slower for
the cpu to do than and. A few hundred times slower at least.
Barry
References: