linalg[scalarmul] - multiply a matrix or vector by an expression
|
Calling Sequence
|
|
scalarmul(A, expr)
|
|
Parameters
|
|
A
|
-
|
matrix or vector
|
expr
|
-
|
scalar expression
|
|
|
|
|
Description
|
|
•
|
The call scalarmul(A, expr) returns the matrix or vector which is the result of multiplying every entry in A by the scalar value expr.
|
•
|
The command with(linalg,scalarmul) allows the use of the abbreviated form of this command.
|
|
|
Download Help Document
Was this information helpful?