478 Matrices
Vandermonde Returns the Vandermonde matrix. Given a vector [n1, n2
… nj], returns a matrix whose first row is [(n1)
0
, (n1)
1
,
(n1)
2
, …,(n1)
j-1
]. The second row is [(n2)
0
, (n2)
1
, (n2)
2
,
…,(n2)
j-1
], etc.
vandermonde(vector)
Example:
vandermonde([1 3 5]) returns
Basic
Norm Returns the Frobenius norm of a matrix.
|matrix|
Example:
returns 5.47722557505
Row Norm Row Norm. Finds the maximum value (over all rows) for
the sums of the absolute values of all elements in a row.
ROWNORM(matrix)
Example:
ROWNORM returns 7
Column Norm Column Norm. Finds the maximum value (over all
columns) of the sums of the absolute values of all elements
in a column.
COLNORM(matrix)
Example:
COLNORM returns 6
11 1
13 9
1525
12
34
12
34
12
34