Page 1 of 1

@MakeDiagonal not working with row vectors in Eviews 13

Posted: Tue Dec 13, 2022 12:47 am
by ErikG
Hi,

the code below does not work after updating with the latest patch in Eviews 13:

Code: Select all

WfCreate C:\temp\temp.wf1 u 1 Rowvector(4) rvX = 3 Matrix mX = @Makediagonal(rvX)

Re: @MakeDiagonal not working with row vectors in Eviews 13

Posted: Tue Dec 13, 2022 10:26 am
by EViews Jason
It will be fixed in the next patch

Re: @MakeDiagonal not working with row vectors in Eviews 13

Posted: Tue Dec 13, 2022 10:54 am
by EViews Glenn
For now...

Code: Select all

WfCreate C:\temp\temp.wf1 u 1 Rowvector(4) rvX = 3 Matrix mX = @Makediagonal(@vec(rvX))
(added the @vec function) will work as it will convert the rowvector into a vector on the fly.