Vector Operators and Type Conversions |
The Vector type exposes the following members.
Operators | 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 |
TopSee Also