Click or drag to resize

Vector Methods

The Vector type exposes the following members.

Methods
 NameDescription
Public methodAdd(Double) Add a scalar to all elements of this vector.
Public methodAdd(Vector) Add a Vector.
Public methodAddInplace(Double) In place add a scalar to all elements of this vector.
Public methodAddInplace(Vector) In place add a Vector.
Public methodClone Creates a copy of the vector.
Public methodDotProduct(Vector) Dot product of this vector with another vector.
Public methodStatic memberDotProduct(Vector, Vector) Dot product or scalar product.
Public methodMultiply Multiply a scalar to all elements of this vector.
Public methodMultiplyInplace In place multiply this vector with a scalar.
Public methodNorm Calculate the norm of the vector (The 2-norm of the vector).
Public methodNorm1 Calculate the 1-norm of the vector.
Public methodNormalize Normalizes this vector to a unit vector with respect to the Eucliden 2-Norm.
Public methodNormInf Infinity-Norm.
Public methodNormP Calculate the p-Norm.
Public methodSubtract(Double) Subtract a scalar to all elements of this vector.
Public methodSubtract(Vector) Subtract a Vector.
Public methodSubtractInplace(Double) In place subtract a scalar to all elements of this vector.
Public methodSubtractInplace(Vector) In place add a Vector.
Public methodToArray Copies the elements of this vector to a new array.
Public methodTranspose Transposed vector.
Public methodUnaryMinus Unary minus.
Public methodUnaryMinusInplace In place unary minus of this vector.
Public methodVectorToString Returns the equivalent string representation of the vector.
Top
Extension Methods
 NameDescription
Public Extension MethodGetEnumNames
(Defined by General)
Public Extension MethodIsValidDouble
(Defined by General)
Top
See Also