Page 1 of 1

Indexing entire rows or columns in a matrix

Posted: Wed Jan 23, 2013 1:32 am
by ErikG
Hi,

Is there a direct way to index and manipulate matrix rows or columns in Eviews? For example:

mX[*,2] = mX[*,2] + vY ' (Add the vector vY to the second column of mX)

I have used:

vX2 = @columnextract(mX,2)
vX2plusY = vX2 + vY
colplace(mX,vX2plusY,2)

But this method is rather tedious compared to more direct methods...

Thanks,

Erik Glans
NIER, Sweden.

Re: Indexing entire rows or columns in a matrix

Posted: Wed Jan 23, 2013 9:06 am
by EViews Gareth
Unfortunately that is the only way.