@MakeDiagonal not working with row vectors in Eviews 13

For notifying us of what you believe are bugs or errors in EViews.
Please ensure your copy of EViews is up-to-date before posting.

Moderators: EViews Gareth, EViews Moderator

ErikG
Posts: 78
Joined: Wed Jan 23, 2013 1:18 am

@MakeDiagonal not working with row vectors in Eviews 13

Postby ErikG » Tue Dec 13, 2022 12:47 am

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)

EViews Jason
EViews Developer
Posts: 870
Joined: Tue Sep 16, 2008 3:50 pm

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

Postby EViews Jason » Tue Dec 13, 2022 10:26 am

It will be fixed in the next patch

EViews Glenn
EViews Developer
Posts: 2672
Joined: Wed Oct 15, 2008 9:17 am

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

Postby EViews Glenn » Tue Dec 13, 2022 10:54 am

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.


Return to “Bug Reports”

Who is online

Users browsing this forum: No registered users and 14 guests