Re: assumed-size or -shape array?
- From: "robin" <robin51@xxxxxxxxxxxxxxxxxx>
- Date: Mon, 10 Jan 2011 10:49:15 +1100
"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.