Generic Vector interface
More...
|
| T[] | ToArray () |
| | Copy all elements of this vector to an array. More...
|
| |
| double | NormP (double p) |
| | p-norm, p-th root of sum of absolute values of components raised to the power of p. More...
|
| |
| void | Normalize () |
| | Normalizes the current vector. More...
|
| |
| void | Negate () |
| | Changes the sign of the current vector. More...
|
| |
Generic Vector interface
$A Igor Sep08;
Copy all elements of this vector to an array.
p-norm, p-th root of sum of absolute values of components raised to the power of p.
Normalizes the current vector.
- Returns
Changes the sign of the current vector.
- Returns
Gets or set the element indexed by i in the Vector.
- Parameters
-
| i | Element index (zero-based by agreement). |
Gets Euclidean norm of the vector.
Gets Euclidean norm of the vector.
Gets Euclidean norm of the vector.
Squared Euclidean norm, sum of squared components.
1-norm (Manhattan norm or Taxicab norm), sum of absolute values of components.
Infinity-norm, maximum absolute value of any component.
The documentation for this interface was generated from the following file: