Vector Class |
The Vector type exposes the following members.
Name | Description | |
---|---|---|
Vector(Double) | Initializes a new instance of the Vector class that contains elements copied from the specified array. | |
Vector(Int32) | Initializes a new instance of the Vector class of the given size. | |
Vector(VectorType, Double) | Initializes a new instance of the Vector class that contains elements copied from the specified array. | |
Vector(VectorType, Int32) | Initializes a new instance of the Vector class of the given size and type. |
Name | Description | |
---|---|---|
Item | Gets or sets the element at the specified index. | |
Length | Returns the number of elements. | |
Type | The vector type. |
Name | Description | |
---|---|---|
Add(Double) | Add a scalar to all elements of this vector. | |
Add(Vector) | Add a Vector. | |
AddInplace(Double) | In place add a scalar to all elements of this vector. | |
AddInplace(Vector) | In place add a Vector. | |
Clone | Creates a copy of the vector. | |
DotProduct(Vector) | Dot product of this vector with another vector. | |
DotProduct(Vector, Vector) | Dot product or scalar product. | |
Multiply | Multiply a scalar to all elements of this vector. | |
MultiplyInplace | In place multiply this vector with a scalar. | |
Norm | Calculate the norm of the vector (The 2-norm of the vector). | |
Norm1 | Calculate the 1-norm of the vector. | |
Normalize | Normalizes this vector to a unit vector with respect to the Eucliden 2-Norm. | |
NormInf | Infinity-Norm. | |
NormP | Calculate the p-Norm. | |
Subtract(Double) | Subtract a scalar to all elements of this vector. | |
Subtract(Vector) | Subtract a Vector. | |
SubtractInplace(Double) | In place subtract a scalar to all elements of this vector. | |
SubtractInplace(Vector) | In place add a Vector. | |
ToArray | Copies the elements of this vector to a new array. | |
Transpose | Transposed vector. | |
UnaryMinus | Unary minus. | |
UnaryMinusInplace | In place unary minus of this vector. | |
VectorToString | Returns the equivalent string representation of the vector. |
Name | Description | |
---|---|---|
Addition(Vector, Vector) | Vector addition. | |
(Vector to Matrix) | Implicit Vector to Matrix conversion. | |
Multiply(BaseMatrix, Vector) | Matrix- Vector multiplication. | |
Multiply(Double, Vector) | Scalar-Vector multiplication. | |
Multiply(Vector, Double) | Vector-Scalar multiplication. | |
Subtraction(Vector, Vector) | Vector subtraction. | |
UnaryNegation(Vector) | Unary minus. |
Name | Description | |
---|---|---|
GetEnumNames | (Defined by General) | |
IsValidDouble | (Defined by General) |