linalg[matadd] - matrix or vector addition
|
Calling Sequence
|
|
matadd(A, B)
matadd(A, B, c1, c2)
|
|
Parameters
|
|
A, B
|
-
|
matrices or vectors (with consistent dimensions)
|
c1, c2
|
-
|
(optional) scalar parameters
|
|
|
|
|
Description
|
|
•
|
The function matadd(A, B) computes the matrix (vector) sum of A and B.
|
•
|
If the optional scalar parameters c1 and c2 are given, then matadd computes the matrix (vector) sum .
|
•
|
The evalm command is an easy method of accessing matadd.
|
•
|
The command with(linalg,matadd) allows the use of the abbreviated form of this command.
|
|
|