|
From: | Cai Jianming |
Subject: | Re: Odd sum() behavior |
Date: | Tue, 16 Jan 2001 07:08:42 +0800 |
Hi,
The attached patch will solve the "odd
sum" behaviour. The problem was that there was a misunderstanding of what "dim"
means. In fact,
dim=0 means no arguments, i.e.
sum(x)
dim=1 means sum(x,1)
dim=2 means sum(x,2)
The patch changes:
liboctave/dMatrix.cc, liboctave/CMatrix.cc, src/data.cc
Regards,
Jianming
|
reduction_dim.patch
Description: Binary data
[Prev in Thread] | Current Thread | [Next in Thread] |