Page 1 of 1

.@col

Posted: Thu Jul 11, 2013 6:32 am
by TimGrun
I believe the @col method is indexing incorrectly.
Loss is a matrix with 200 rows and 4000 columns.
vector(3) wanted = @fill(3,7,10)
matrix testit = loss.@col(wanted)
Then testit will have columns 4,8, and 11 of matrix loss!
I can adjust for this problem by subtracting 1 from the column numbers I want, but now I want column 1 from matrix loss. The @col method doesn't like it when I say I want column 0. But if I say I want column 1 then column 2 is returned.

Any quick solutions?

Tim

Re: .@col

Posted: Thu Jul 11, 2013 7:44 am
by EViews Gareth
Well spotted. We'll fix it in next patch.