Page 1 of 1

Matrix function: Illegal or reserved name error

Posted: Sat May 11, 2013 4:18 am
by Omar
Hi,

I'm using Eviews 7 and while trying to calculate the element-wise product of two pre-defined matrices, I get an illegal or reserved name error. I used the following function:

matrix(10,10) a
matrix(10,10) b
matrix x = @eprod(a, b)

When I execute this function, I get "@EPROD is an illegal or reserved name". Am I missing something here? Can anyone help? I also tried determining the size of the matrix x for (10,10) but still the same error.

Many thanks.

Re: Matrix function: Illegal or reserved name error

Posted: Sat May 11, 2013 6:43 am
by startz
Perhaps you want

Code: Select all

@emult
?

Re: Matrix function: Illegal or reserved name error

Posted: Sat May 11, 2013 10:51 am
by Omar
Thanks a lot! It works now! :)