multiplying a series by an element of a matrix
Posted: Thu Feb 25, 2016 6:58 am
Good morning,
I need to multiply a series by an element of a matrix, For instance :
I've got a series named varY, a matrix myMat, and I want to create a new series varX which is the product of element 1 of myMat and varY.
series varX = myMat(1) * varY
The only way I can do that is if I assign myMat(1) to a scalar; scalar temp = myMat(1) and then series varX = temp * varY.
I wonder why I cannot multiply a series by an element of a matrix.
Thanks!
Danny
I need to multiply a series by an element of a matrix, For instance :
I've got a series named varY, a matrix myMat, and I want to create a new series varX which is the product of element 1 of myMat and varY.
series varX = myMat(1) * varY
The only way I can do that is if I assign myMat(1) to a scalar; scalar temp = myMat(1) and then series varX = temp * varY.
I wonder why I cannot multiply a series by an element of a matrix.
Thanks!
Danny