Forums > Javascript

apply scalar on matrix

October 21, 2011 | 9:59 am

Hi,

Is that the good way to apply a scalar operator on a matrix in JS :

.declare 2 mtrx
.declare variable v
.mtrx1.setall(v)
.mtrx2.op(+, mtrx1)

thanks.


October 21, 2011 | 5:47 pm

Looks fine to me.


Viewing 2 posts - 1 through 2 (of 2 total)