Vector Structure |
public struct Vector
The Vector type exposes the following members.
Name | Description | |
---|---|---|
EuclideanNorm | Gets vector's Euclidean norm | |
Item | Gets or sets vector element at specified index | |
Length | Gets number of components in a vector | |
LInfinityNorm | Gets L-infinity norm of the vector | |
Sum | Gets vector's Euclidean norm | |
v |
Name | Description | |
---|---|---|
Abs | Returns a vector whose elements are the absolute values of the given vector elements | |
Clone | Clones specified vector | |
Copy | Copies content of one vector to another. Vectors must have same length. | |
Equals | (Overrides ValueTypeEquals(Object)) | |
GetEuclideanNorm | Returns Euclidean norm of difference between two vectors. | |
GetHashCode | (Overrides ValueTypeGetHashCode) | |
GetLInfinityNorm | Returns L-infinity norm of difference between two vectors. | |
GetType | Gets the Type of the current instance. (Inherited from Object) | |
Lerp | Performs linear intepolation between two vectors at specified point | |
Max | Returns a vector each of whose elements is the maximal from the corresponding ones of argument vectors. Note that dimensions of the arguments must match. | |
MulAdd | Adds vector v1 multiplied by factor to this object. | |
ToArray | Copies vector to double[] array | |
ToString | Convers vector to string representation. (Overrides ValueTypeToString) | |
Zeros | Constructs vector of specified length filled with zeros |
Name | Description | |
---|---|---|
Addition(Vector, Vector) | Sums two vectors. Vectors must have same length. | |
Addition(Vector, Double) | Add a scalar to a vector. | |
BitwiseAnd(Vector, Vector) | Multiplies vector a[i] by vector b[j] and returns matrix with components a[i]*b[j] | |
Division(Vector, Vector) | Performs element-wise division of two vectors | |
Division(Vector, Double) | Divides vector by a scalar (per component) | |
(Double to Vector) | Performs conversion of scalar to vector with length 1 | |
(Double to Vector) | Performs conversion of array to vector | |
(Vector to Double) | Performs conversion of 1d vector to | |
(Vector to Double) | Performs conversion of vector to array | |
Multiply(Double, Vector) | Multiplies a vector by a scalar (per component) | |
Multiply(Matrix, Vector) | Multiplies vector Vector by matrix | |
Multiply(Vector, Matrix) | Implements multiplication of matrix by vector | |
Multiply(Vector, Vector) | Performs scalar multiplication of two vectors | |
Multiply(Vector, Double) | Multiplies a vector by a scalar (per component) | |
Subtraction(Vector, Vector) | Substracts first vector from second. Vectors must have same length |