Vector Operators and Type Conversions |
The Vector type exposes the following members.
| Name | Description | |
|---|---|---|
| Addition(Double, Vector) |
Adds a scalar to each element of the vector and returns the result.
| |
| Addition(Vector, Vector) |
Adds two vectors together and returns the result.
| |
| Addition(Vector, Double) |
Adds a scalar to each element of the vector and returns the result.
| |
| Division |
Divides each element of the vector by given scalar and returns
the result.
| |
| (Double to Vector) |
Casts the array of values to the vector. It doesn't copies the
values, but saves the reference to the input array.
| |
| (Vector to Double) |
Casts the vector to an array of its values. It doesn't
copies the values, but returns the reference to internal array.
| |
| Multiply(Double, Vector) |
Multiplies the vector by given scalar and returns the result.
| |
| Multiply(Vector, Vector) |
Computes the dot product of two given vectors.
| |
| Multiply(Vector, Double) |
Multiplies the vector by given scalar and returns the result.
| |
| Subtraction(Double, Vector) |
Subtracts each element of the vector from the scalar and returns
the result.
| |
| Subtraction(Vector, Vector) |
Subtracts the one vector from another and returns the result.
| |
| Subtraction(Vector, Double) |
Subtracts the scalar from each element of the vector and returns
the result.
| |
| UnaryNegation |
Negates each element of the vector.
| |
| UnaryPlus |
Returns a Vector containing the same values of right.
|