Re: assumed-size or -shape array?



"glen herrmannsfeldt" <gah@xxxxxxxxxxxxxxxx> wrote in message news:igc6tp$s4a$2@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx
| m_b_metcalf <michaelmetcalf@xxxxxxxxxxxxxx> wrote:
|
| also, you could still allow passing n in case one wanted to sum
| over only part of the array.

dot(a(1:n), b(1:n)) works wonders.


.