help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

norm fails


From: Juan Pablo Carbajal
Subject: norm fails
Date: Mon, 7 Nov 2011 19:51:32 +0100

Hi all,

I am getting the following error in 3.4.3 and dev

norm(rand(4,3),"fro","rows")
error: invalid conversion from string to real scalar

The problem is due to the third argument, but the help says
"If OPT is the value `"rows"', treat each row as a vector and
     compute its norm.  The result is returned as a column vector."

I tried to find the implementation of the function but got lost
somewhere in oct-norm.cc and xnorm.cc

Is this a bug?

-- 
M. Sc. Juan Pablo Carbajal
-----
PhD Student
University of Zürich
http://ailab.ifi.uzh.ch/carbajal/


reply via email to

[Prev in Thread] Current Thread [Next in Thread]