Generic Matrix interface.
More...
|
ComponentType[,] | ToArray () |
| Creates and returns a rectangular 2D array that contains a component-wise copy of the matrix. More...
|
|
ComponentType[][] | ToJaggedArray () |
| Creates and returns a jagged 2D array that contains a component-wise copy of the matrix. More...
|
|
void | SetZero () |
| Sets all components of the current matrix to 0. More...
|
|
void | Negate () |
| Negates the matrix. More...
|
|
|
int | RowCount [get] |
| Gets the number of rows. More...
|
|
int | ColumnCount [get] |
| Gets the number of columns. More...
|
|
int | Count [get] |
| Gets total number of elements. More...
|
|
ComponentType | this[int i, int j] [get, set] |
| Gets or set the element indexed by (i, j) in the Matrix . More...
|
|
ComponentType | this[int flatIndex] [get, set] |
| Gets or set the element indexed by the specified flat index in the Matrix . More...
|
|
ComponentType | Trace [get] |
| Gets matrix trace (sum of diagonal terms). More...
|
|
double | NormForbenius [get] |
| Gets Forbenious (or Euclidean) norm of the matrix - square root of sum of squares of elements. More...
|
|
double | NormEuclidean [get] |
| Gets Forbenious (or Euclidean) norm of the matrix - square root of sum of squares of elements. More...
|
|
double | Norm [get] |
| Gets Forbenious (or Euclidean) norm of the matrix - square root of sum of squares of elements. More...
|
|
Generic Matrix interface.
$A Igor Sep08 Jan09;
Creates and returns a rectangular 2D array that contains a component-wise copy of the matrix.
Creates and returns a jagged 2D array that contains a component-wise copy of the matrix.
Sets all components of the current matrix to 0.
Gets the number of columns.
Gets total number of elements.
Warning: this is usually done by multiplying RowCount and ColumnCount, so it is not a priceless operation.
Gets or set the element indexed by (i, j)
in the Matrix
.
- Parameters
-
i | Row index. |
j | Column index. |
Gets or set the element indexed by the specified flat index
in the Matrix
.
- Parameters
-
flatIndex | Flat (one dimensional) index that addresses matrix element. |
Gets matrix trace (sum of diagonal terms).
Gets Forbenious (or Euclidean) norm of the matrix - square root of sum of squares of elements.
Gets Forbenious (or Euclidean) norm of the matrix - square root of sum of squares of elements.
Gets Forbenious (or Euclidean) norm of the matrix - square root of sum of squares of elements.
The documentation for this interface was generated from the following file: