.NET Matrix Library
CVector Class Members
See Also  Properties  Methods  Send Feedback


The following tables list the members exposed by CVector.

Public Constructors

 NameDescription
public ConstructorCVector ConstructorOverloaded. Initializes a new instance of the CVector class.  
Top

Public Properties

 NameDescription
public PropertyDataThis property is used while serializing and deserializing the CVector object and is not intended to be used directly from your code.  
public PropertyDataPtrGets the address of the unmanaged (native) memory block containing the vector's elements.  
public PropertyItemGets or sets a single vector element.  
public PropertyLengthGets or sets the vector length.  
Top

Public Methods

 NameDescription
public MethodAbsSumReturns the sum of magnitudes of the vector elements.  
public Methodstatic (Shared in Visual Basic)AddOverloaded. Adds vectors.  
public MethodApplyFunctionOverloaded. Returns a new CVector object, whose elements are the result of applying the specified complex function to the elements of this vector.  
public MethodClearSets the value of all the CVector elements to zero.  
public MethodCloneCreates a duplicate of this CVector object.  
public MethodDisposeReleases all the resources used by the CVector object.  
public Methodstatic (Shared in Visual Basic)DivideOverloaded. Divides complex vectors.  
public MethodDotProductOverloaded. Returns the dot product of vectors.  
public MethodEqualsReturns a value indicating whether this CVector object is equal to another vector.  
public MethodFillRandomOverloaded. Fills the CVector object with random values.  
public MethodGetHashCodeReturns a hash code value that represents this object.  
public MethodGetObjectDataImplements the ISerializable interface and returns the data needed to serialize the CVector class.  
public MethodHasINFsReturns a value indicating whether the current vector contains any elements that  evaluate to negative or positive infinity.  
public MethodHasNaNsReturns a value indicating whether the current vector contains any elements that  evaluate to NaN values.  
public MethodImagReturns a Vector object containing the imaginary parts of the CVector elements.  
public MethodIsFiniteReturns a value indicating whether the current vector contains any elements that  evaluate either to NaN or to negative or positive infinity.  
public Methodstatic (Shared in Visual Basic)MultiplyOverloaded. Multiplies vectors.  
public MethodNormReturns the Euclidean norm of the vector.  
public MethodNormalize

Normalizes the current vector according to the specified mode.

 
public MethodRealReturns a Vector object containing the real parts of the CVector elements.  
public MethodResizeResizes the vector preserving its content.  
public Methodstatic (Shared in Visual Basic)SubtractOverloaded. Subtracts complex vectors.  
public MethodSumReturns the sum of vector elements.  
public MethodToArrayReturns an array of type complex containing the same values as the current vector.  
public MethodToCMatrixConverts current vector to a CMatrix object.  
public MethodToStringOverloaded. Converts this instance of CVector to a formatted string.  
Top

Public Operators

public Operator Addition Overloaded. Adds complex vectors.
public Operator Division Overloaded. Divides complex vectors.
public Operator Equality Tests whether two CVector objects represent equal vectors.
public Operator Implicit Type Conversion Overloaded. Converts a CVector object.
public Operator Inequality Tests whether two CVector objects represent equal vectors.
public Operator Multiplication Overloaded. Multiplies vectors.
public Operator Subtraction Overloaded. Subtracts complex vectors.
Top

See Also

.NET Matrix Library