Re: maxval,product, etc with mask all false
From: James Van Buskirk (not_valid_at_comcast.net)
Date: 05/11/04
- Previous message: TimC: "Re: function prototypes"
- In reply to: Richard Maine: "Re: maxval,product, etc with mask all false"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Tue, 11 May 2004 01:16:49 GMT
"Richard Maine" <nospam@see.signature> wrote in message
news:m1r7tsrwpc.fsf@macfortran.local...
> All these cases should be documented in any Fortran text. In general,
> they return a "reasonable" extrapolation to the zero-size condition,
> but the extrapolation is different for different cases. For example,
> product is different from maxval/minval. Thus, although I can give
> you the specific answers for those 3, I can't answer the "such as"
> part of your question in other than the above very general terms. Do
> note that having all elements of the mask be zero is just like having
> a zero-sized array with no mask - that might help your intuition about
> what the "reasonable" extrapolation is likely to be. I do recommend a
> textbook for things like this (any textbook).
The "such as" doesn't seem like such a long list:
SUM: Zero
COUNT: 0
ANY: .FALSE.
ALL: .TRUE.
MAXLOC & MINLOC: A processor-dependent result in F95; zero
is broadcast into the result in F03 -- thanks again for
making this change.
-- write(*,*) transfer((/17.392111325966148d0,6.5794487871554595D-85, & 6.0134700243160014d-154/),(/'x'/)); end
- Previous message: TimC: "Re: function prototypes"
- In reply to: Richard Maine: "Re: maxval,product, etc with mask all false"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|