On Mon, Jun 1, 2009 at 10:43 PM, John M. Dlugosz > And it should be an
error if dimensions other than the highest are
> unspecified.  How can it know how to shape it?  Use an explicit command to
> shape up the argument in that case.

I don't see why shape(2;*) is not a problem and shape(*;2) is a
problem for an lvalue array, either each one (lazily?) demands an even
number of elements, or they both fail. In general, multiply the size
of the known dimensions, and that's the number of elements you need to
fill up one more in the unspecified dimension direction.

I do see a problem if there's more than one unspecified dimension.
Though I suppose an array of shape(*;*) as an lvalue might be a
constraint allowing assignment only of another 2D array?

Reply via email to