freepooma-devel
[Top][All Lists]
Advanced

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

Re: [pooma-dev] Evaluator/ReductionEvaluator.h question


From: Richard Guenther
Subject: Re: [pooma-dev] Evaluator/ReductionEvaluator.h question
Date: Fri, 21 Feb 2003 19:40:24 +0100 (CET)

On Fri, 21 Feb 2003, Mark Mitchell wrote:

>
>
> --On Friday, February 21, 2003 07:08:39 PM +0100 Richard Guenther
> <address@hidden> wrote:
>
> > Hmm - at least for such a type constructing from a 1 or 0 element as
> > neutral element of multiplication/addition does make sense.
>
> Well, in an algebraic sense there are going to be additive and
> multiplicative identities -- but they might not be the integers 1 and 0.
> You might not have an "int" constructor for, say, a matrix class.

Well, constructing from int 1 and int 0 would make sense, but a generic
from int constructor of course not. Were the reductions designed to allow
for such complex objects? prod() and sum() would have surely worked for
almost all of them.

Also for these you wont have meaningful comparison operators, so at least
min()/max() will not work for them.

Richard.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]