help-octave
[Top][All Lists]
Advanced

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

Odd sum() behavior


From: Douglas Eck
Subject: Odd sum() behavior
Date: Fri, 12 Jan 2001 13:47:10 +0100

I don't want to send a bug report because usually what I think
is a bug ends up being user error, desired behavior, blah blah blah. 

But, shouldn't this work differently?

Octave >> a=rand(1,4)
a =
 
  0.51571  0.25920  0.00946  0.45250
 
Octave >> sum(a,1)
ans = 1.2369
Octave >> sum(a,2)
ans = 1.2369
Octave >> version
ans = 2.1.32

I'm using the Debian .deb from Dirk 2.1.32-2

PS My apologies if this is already patched. I couldn't get
through to www.octave.org and I wanted to get this question
out.



-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.

Octave's home on the web:  http://www.octave.org
How to fund new projects:  http://www.octave.org/funding.html
Subscription information:  http://www.octave.org/archive.html
-------------------------------------------------------------



reply via email to

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