Click or drag to resize
Accord.NET (logo)

Vector4 Methods

The Vector4 type exposes the following members.

Methods
  NameDescription
Public methodAbs
Calculate absolute values of the vector.
Public methodStatic memberAdd(Vector4, Vector4)
Adds corresponding coordinates of two vectors.
Public methodStatic memberAdd(Vector4, Single)
Adds a value to all coordinates of the specified vector.
Public methodStatic memberDivide(Vector4, Vector4)
Divides corresponding coordinates of two vectors.
Public methodStatic memberDivide(Vector4, Single)
Divides coordinates of the specified vector by the specified factor.
Public methodStatic memberDot
Calculates dot product of two vectors.
Public methodEquals(Object)
Tests whether the vector equals to the specified object.
(Overrides ValueTypeEquals(Object).)
Public methodEquals(Vector4)
Tests whether the vector equals to the specified one.
Public methodGetHashCode
Returns the hashcode for this instance.
(Overrides ValueTypeGetHashCode.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodInverse
Inverse the vector.
Public methodStatic memberMultiply(Vector4, Vector4)
Multiplies corresponding coordinates of two vectors.
Public methodStatic memberMultiply(Vector4, Single)
Multiplies coordinates of the specified vector by the specified factor.
Public methodNormalize
Normalizes the vector by dividing it’s all coordinates with the vector's norm.
Public methodStatic memberSubtract(Vector4, Vector4)
Subtracts corresponding coordinates of two vectors.
Public methodStatic memberSubtract(Vector4, Single)
Subtracts a value from all coordinates of the specified vector.
Public methodToArray
Returns array representation of the vector.
Public methodToString
Returns a string representation of this object.
(Overrides ValueTypeToString.)
Public methodToVector3
Converts the vector to a 3D vector.
Top
Extension Methods
  NameDescription
Public Extension MethodHasMethod
Checks whether an object implements a method with the given name.
(Defined by ExtensionMethods.)
Public Extension MethodIsEqual
Compares two objects for equality, performing an elementwise comparison if the elements are vectors or matrices.
(Defined by Matrix.)
Public Extension MethodTo(Type)Overloaded.
Converts an object into another type, irrespective of whether the conversion can be done at compile time or not. This can be used to convert generic types to numeric types during runtime.
(Defined by ExtensionMethods.)
Public Extension MethodToTOverloaded.
Converts an object into another type, irrespective of whether the conversion can be done at compile time or not. This can be used to convert generic types to numeric types during runtime.
(Defined by ExtensionMethods.)
Top
See Also