Click or drag to resize

Vector Operators and Type Conversions

The Vector type exposes the following members.

Operators
  NameDescription
Public operatorStatic memberAddition(Double, Vector)
Adds a scalar to each element of the vector and returns the result.
Public operatorStatic memberAddition(Vector, Vector)
Adds two vectors together and returns the result.
Public operatorStatic memberAddition(Vector, Double)
Adds a scalar to each element of the vector and returns the result.
Public operatorStatic memberDivision
Divides each element of the vector by given scalar and returns the result.
Public operatorStatic member(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.
Public operatorStatic member(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.
Public operatorStatic memberMultiply(Double, Vector)
Multiplies the vector by given scalar and returns the result.
Public operatorStatic memberMultiply(Vector, Vector)
Computes the dot product of two given vectors.
Public operatorStatic memberMultiply(Vector, Double)
Multiplies the vector by given scalar and returns the result.
Public operatorStatic memberSubtraction(Double, Vector)
Subtracts each element of the vector from the scalar and returns the result.
Public operatorStatic memberSubtraction(Vector, Vector)
Subtracts the one vector from another and returns the result.
Public operatorStatic memberSubtraction(Vector, Double)
Subtracts the scalar from each element of the vector and returns the result.
Public operatorStatic memberUnaryNegation
Negates each element of the vector.
Public operatorStatic memberUnaryPlus
Returns a Vector containing the same values of right.
Top
See Also