Home > Extreme Optimization Mathematics Library for .NET > Reference > Extreme.Mathematics.LinearAlgebra Namespace > GeneralVector Class


Extreme Optimization Mathematics Library for .NET

GeneralVector Members

GeneralVector overview

Public Static (Shared) Methods

Swap Swaps the elements of two vectors.

Public Static (Shared) Type Conversions

Implicit Double[] to GeneralVector Conversion Converts a Double array to a GeneralVector.

Public Instance Constructors

GeneralVectorOverloaded. Initializes a new instance of the GeneralVector class.

Public Instance Properties

Item (inherited from Vector) Gets or sets a specific component of this vector.
Item (inherited from Vector) Gets or sets a specific component of this vector.
Length (inherited from Vector) Gets the number of elements in the Vector.
StorageArray Gets the Double array that stores the data for the instance.
StorageIncrement Gets the increment between successive elements of this instance in the StorageArray.
StorageOffset Gets the index of the first element of this instance in the StorageArray.

Public Instance Methods

AbsoluteMax Returns the value of the component in this GeneralVector that has the largest absolute value.
AbsoluteMaxIndex Returns the index of the component in this GeneralVector that has the largest absolute value.
AbsoluteMin Returns the value of the component in this GeneralVector that has the smallest absolute value.
AbsoluteMinIndex Returns the index of the component in this GeneralVector that has the smallest absolute value.
AddOverloaded. Adds two Vector objects.
Add (inherited from Vector)Overloaded. Adds the scaled product of a Matrix and a Vector to this Vector.
Apply Applies a function to the elements of a GeneralVector.
CloneOverloaded. Makes a copy of this Vector using the specified method.
Clone (inherited from Vector)Overloaded. Makes a copy of this Vector using the specified method.
CloneData Gives this instance its own copy of its elements.
ComponentwiseDivide (inherited from Vector) Divides the components of this instance by the corresponding components of another vector.
ComponentwiseMultiply (inherited from Vector) Multiplies the components of this instance by the corresponding components of another vector.
CopyToOverloaded. Copies the components of this instance to another Vector.
CopyTo (inherited from Vector)Overloaded. Copies the components of this Vector to another vector.
DotProduct Returns the dot product of this vector with another vector.
Equals Determines whether the specified Object is equal to the current GeneralVector.
GetComponents Gets the components of this GeneralVector.
GetEnumerator Returns a GeneralVectorEnumerator for this GeneralVector.
GetHashCode Returns the hash code for this instance.
GetObjectData Populates a SerializationInfo with the data needed to serialize the target object.
GetSubvectorOverloaded. Returns a vector that points to a part of this GeneralVector
GetSubvector (inherited from Vector)Overloaded. Returns a vector whose components are a subset of the components of this instance
GetType (inherited from Object)Gets the Type of the current instance.
GetValue Gets the vector component at the specified position.
IsComponentWritable Gets a value indicating whether the value of the component at the specified index can be changed.
Max Returns the value of the largest component in this GeneralVector.
MaxIndex Returns the index of the largest component in this GeneralVector.
Min Returns the value of the smallest component in this GeneralVector.
MinIndex Returns the index of the smallest component in this GeneralVector.
Multiply (inherited from Vector)Overloaded. Multiplies a Vector by a Matrix.
MultiplyOverloaded. Multiplies a vector by a given factor.
Norm (inherited from Vector)Overloaded. Returns the two-norm of the Vector.
Normalize (inherited from Vector) Scales the Vector to make its two-norm equal to one.
NormSquared (inherited from Vector) Returns the square of the two-norm of this Vector.
OneNorm Returns the one-norm of this GeneralVector.
SetToZero (inherited from Vector) Sets all the components of the Vector to 0.
SetValueOverloaded. Sets all the components of the GeneralVector to the specified value.
ShallowCopy (inherited from Vector) Makes a shallow copy of this Vector.
Subtract (inherited from Vector)Overloaded. Subtracts another Vector from this Vector.
SwapElements (inherited from Vector) Exchanges two elements of the vector.
ToGeneralVector (inherited from Vector) Makes a copy of this instance and returns it as a GeneralVector.
ToString (inherited from Vector)Overloaded. Returns a String representation of this GeneralMatrix.
Zero (inherited from Vector)Obsolete. Sets all the components of the Vector to 0.

Protected Instance Methods

ToStringInternal Writes a string representation of this GeneralVector to an instance of StringBuilder using the specified number format.

Explicit Interface Implementations

ICloneable.Clone Makes a copy of this GeneralVector.

See Also

GeneralVector Class | Extreme.Mathematics.LinearAlgebra Namespace