apply scalar on matrix


    Oct 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.

    • Oct 21 2011 | 5:47 pm
      Looks fine to me.