[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: FYI: bsxfun optimized
From: |
CdeMills |
Subject: |
Re: FYI: bsxfun optimized |
Date: |
Tue, 11 Jan 2011 06:43:47 -0800 (PST) |
Sorry to resurrect an old topic ...
When I try 'center' on a dataframe under 3.3.54+, it fails in bsxfun. Let
say x is a (3, 4) dataframe; then
x1 = sum(x, 1)/3
is a (1, 4) dataframe, and
bsxfun(@minus, x, x1)
fails with
Non-compatible rows and columns size (op1 is 3x4, op2 is 1x4)
So it seems there is an automatic column iteration inside bsxfun: how can I
make my dataframe class compatible to achieve such iteration ?
Regards
Pascal
--
View this message in context:
http://octave.1599824.n4.nabble.com/FYI-bsxfun-optimized-tp1656708p3209089.html
Sent from the Octave - Maintainers mailing list archive at Nabble.com.
- Re: FYI: bsxfun optimized,
CdeMills <=