J
Joe Lovick
Hi,
Could someone please tell me how the syntax works for the narray, max
and min methods.
if i use @values.max i get the max of the entire array, after reading
the narray documentation http://narray.rubyforge.org/SPEC.en it looks
like i can get the max of a particular dimension at an orthogonal index,
however, i am at a loss to work out how this should be specified
syntatically.
to put it another way, i have a 2D array, and i would like to find the
max and the min, of each of the columns 1..n.
Cheers
Joe
Could someone please tell me how the syntax works for the narray, max
and min methods.
if i use @values.max i get the max of the entire array, after reading
the narray documentation http://narray.rubyforge.org/SPEC.en it looks
like i can get the max of a particular dimension at an orthogonal index,
however, i am at a loss to work out how this should be specified
syntatically.
to put it another way, i have a 2D array, and i would like to find the
max and the min, of each of the columns 1..n.
Cheers
Joe