Matrix and scalar

next - skip - up - start

The following expression multiplies the elements of a matrix A by a scalar f: A * f; Likewise one can divide the elements of a matrix A by a scalar f: A / f;

The expressions A + f and A - f add or subtract a rectangular matrix of the same dimension as A with elements equal to f to or from the matrix A.

In each case the matrix must be the first term in the expression. Expressions such f + A or f * A are not recognised (yet?).