Re: RESTRICTING DOMAINS


[Prev][Next][Index][Thread]

Re: RESTRICTING DOMAINS



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.


|Shawn D'Alimonte       |Sec. Year Elec. Eng at Ryerson Polytechnic Univ. |
|sdalimon@acs.ryerson.ca|Amiga Fan  A3000/030/25/6MB/92MB                 |
|aa600@torfree.net      |           A1200/020/14/2MB/80MB                 |


References: