Hello all, today I fought for an hour with a very simple piece of code, of the kind:
----------------------------- X= [[1 2 3],[4 5 6]] # now, X[1,:] is 1x3 array, containing 1 2 3 # but let's peek at its L1-norm: norm( X[1,:] ) # --> we get 3, where I would expect 6 (1+2+3) ----------------------------- I believe this comes back to the 'how 1xN matrices should be handled'. The point is that the current behaviour is totally non-intuitive for someone coming from Matlab, and having matrix and vector norms in the same function hides this (in this case) unwanted behavior. I am not sure what is the right way to deal with this, but seems like a hard wall that more than one will hit when coming from matlab-like backgrounds. Cheers.