Click or drag to resize

Vector Methods

The Vector type exposes the following members.

Methods
 NameDescription
Public methodAbs Returns a vector whose elements are the absolute values of the given vector elements
Public methodCloneClones specified vector
Public methodStatic memberCopyCopies content of one vector to another. Vectors must have same length.
Public methodEquals
(Overrides ValueTypeEquals(Object))
Public methodStatic memberGetEuclideanNormReturns Euclidean norm of difference between two vectors.
Public methodGetHashCode
(Overrides ValueTypeGetHashCode)
Public methodStatic memberGetLInfinityNormReturns L-infinity norm of difference between two vectors.
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodStatic memberLerpPerforms linear intepolation between two vectors at specified point
Public methodStatic memberMax 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.
Public methodMulAddAdds vector v1 multiplied by factor to this object.
Public methodToArray Copies vector to double[] array
Public methodToStringConvers vector to string representation.
(Overrides ValueTypeToString)
Public methodStatic memberZerosConstructs vector of specified length filled with zeros
Top
See Also