Question: Operations on entries of an array

I would like to perform some operations on all the entries of an array (or an all entries in some given rows/columns).
Can this be achieved without writing an ad hoc loop?
(for instance this task is extremely easy in octave/matlab)
Should I use some specific package?

Please Wait...