On Tuesday, March 4, 2014 4:37:15 AM UTC-5, Carlos Becker wrote: > > Another option is to add a vecnorm() function, explicitly to treat the > argument as a vector, which would be undefined for other matrix sizes. >
A vecnorm function could be defined to work on any iterable type, including matrices; it wouldn't have to be restricted to row and column vectors. (It's a perfectly good norm to treat an MxN matrix as a length MN vector and apply one of the vector norms to it.)