Represents a vector, a one-dimensional array of
real numbers.
Namespace: Extreme.Mathematics.LinearAlgebra.Complex
Assembly: Extreme.Numerics (Extreme.Numerics)
Syntax
| Visual Basic (Declaration) |
|---|
Public MustInherit Class ComplexVector _ Implements ICloneable, IFormattable, IList(Of DoubleComplex), ICollection(Of DoubleComplex), IEnumerable(Of DoubleComplex), IEnumerable |
| C# |
|---|
public abstract class ComplexVector : ICloneable, IFormattable, IList<DoubleComplex>, ICollection<DoubleComplex>, IEnumerable<DoubleComplex>, IEnumerable |
| C++ |
|---|
public ref class ComplexVector abstract : ICloneable, IFormattable, IList<DoubleComplex>, ICollection<DoubleComplex>, IEnumerable<DoubleComplex>, IEnumerable |
Methods
| Icon | Type | Description |
|---|---|---|
| AbsoluteMax() |
Returns the value of the component in this
ComplexVector that has the largest absolute
value.
| |
| AbsoluteMaxIndex() |
Returns the index of the component in this
ComplexVector that has the largest absolute
value.
| |
| AbsoluteMin() |
Returns the value of the component in this
ComplexVector that has the smallest absolute
value.
| |
| AbsoluteMinIndex() |
Returns the index of the component in this
ComplexVector that has the smallest absolute
value.
| |
| Add(ComplexVector) |
Adds another ComplexVector to this ComplexVector.
| |
| Add(DoubleComplex, ComplexVector) |
Adds a scaled ComplexVector to this ComplexVector.
| |
| Add(ComplexMatrix, ComplexVector) |
Adds the product of a ComplexMatrix and a
ComplexVector to this ComplexVector.
| |
| Add(DoubleComplex, ComplexMatrix, ComplexVector) |
Adds the scaled product of a ComplexMatrix and a
ComplexVector to this ComplexVector.
| |
| Add(ComplexVector, ComplexVector) |
Adds two ComplexVector values.
| |
| Addition(ComplexVector, ComplexVector) |
Adds two ComplexVector values.
| |
| Apply(ComplexFunction) |
Applies a function to the elements of a ComplexVector.
| |
| Apply(ComplexFunction, ComplexVector) |
Applies a function to the elements of a ComplexVector
and returns the result in a new vector.
| |
| Clone() |
Makes a copy of this ComplexVector.
| |
| Clone(CloningMethod) |
Makes a copy of this ComplexVector using the specified
method.
| |
| CloneData() |
If possible, gives this instance its own copy of its elements.
| |
| ComponentwiseDivide(ComplexVector, ComplexVector) |
Divides the components of a ComplexVector by the corresponding
components of another vector.
| |
| ComponentwiseDivide(ComplexVector) |
Divides the components of this instance by the corresponding
components of another vector.
| |
| ComponentwiseMultiply(ComplexVector, ComplexVector) |
Multiplies the components of a ComplexVector by the corresponding
components of another vector.
| |
| ComponentwiseMultiply(ComplexVector) |
Multiplies the components of this instance by the corresponding
components of another vector.
| |
| Conjugate() |
Returns a ComplexVector whose components are the complex conjugate of this vector's components.
| |
| CopyTo(ComplexVector, Int32) |
Copies the components of this ComplexVector
to another vector starting at the specified position.
| |
| CopyTo(ComplexVector) |
Copies the components of this ComplexVector
to another vector.
| |
| CopyTo(DoubleComplex[]()) |
Copies the components of this ComplexVector
to another vector.
| |
| Divide(ComplexVector, DoubleComplex) |
Divides a ComplexVector by a constant.
| |
| Division(ComplexVector, DoubleComplex) |
Divides a ComplexVector by a constant.
| |
| DotProduct(ComplexVector) |
Returns the dot product of this vector with another
vector.
| |
| DotProduct(ComplexVector, ComplexVector) |
Returns the dot product of two vectors.
| |
| Equality(ComplexVector, ComplexVector) |
Returns a value indicating whether two instances
of ComplexVector are equal.
| |
| Equals(Object) |
Determines whether the specified Object
is equal to the current ComplexVector.
| |
| Finalize() | ||
| GetComponents() |
Gets the components of the ComplexVector.
| |
| GetEnumerator() |
Returns a ComplexVectorEnumerator for this
ComplexVector.
| |
| GetHashCode() |
Returns the hash code for this instance.
| |
| GetImaginaryPart() |
Returns a real vector containing the imaginary components of the vector.
| |
| GetObjectData(SerializationInfo, StreamingContext) |
Populates a SerializationInfo with the data
needed to serialize the target object.
| |
| GetRealPart() |
Returns a real vector containing the real components of the vector.
| |
| GetSubvector(Range) |
Returns a vector whose components are a subset of the components of
this instance
| |
| GetSubvector(Int32, Int32) |
Returns a vector whose components are a subset of the components of
this instance
| |
| GetSubvector(Int32, Int32, Int32) |
Returns a vector whose components are a subset of the components of
this instance
| |
| GetType() | Gets the Type of the current instance. | |
| GetValue(Int32) |
Gets the vector component at the specified position.
| |
| Inequality(ComplexVector, ComplexVector) |
Returns a value indicating whether two instances
of ComplexVector are not equal.
| |
| IsComponentWritable(Int32) |
Gets a value indicating whether the value of the component at
the specified index can be changed.
| |
| MemberwiseClone() | Creates a shallow copy of the current Object. | |
| Multiply(DoubleComplex) |
Multiplies a vector by a given factor.
| |
| Multiply(ComplexMatrix) |
Adds the scaled product of a ComplexMatrix and a
ComplexVector to this ComplexVector.
| |
| Multiply(ComplexMatrix, MatrixOperationSide) |
Multiplies a ComplexVector by a ComplexMatrix.
| |
| Multiply(DoubleComplex, ComplexVector) |
Multiplies a ComplexVector by a constant.
| |
| Multiply(DoubleComplex, ComplexVector) |
Multiplies a ComplexVector by a constant.
| |
| Multiply(ComplexVector, DoubleComplex) |
Multiplies a ComplexVector by a constant.
| |
| Negate(ComplexVector) |
Negates a ComplexVector.
| |
| Norm() |
Returns the two-norm of the ComplexVector.
| |
| Norm(Int32) |
Returns the norm of the specified order of this
ComplexVector.
| |
| Norm(Double) |
Returns the norm of the specified order of this
ComplexVector.
| |
| Normalize() |
Scales the ComplexVector to make its
two-norm equal to one.
| |
| NormInternal(Int32) |
Returns the norm of the specified order of this
ComplexVector.
| |
| NormInternal(Double) |
Returns the norm of the specified order of this
ComplexVector.
| |
| NormSquared() |
Returns the square of the two-norm of this ComplexVector.
| |
| OneNorm() |
Returns the one-norm of this ComplexVector.
| |
| SetValue(DoubleComplex, Int32) |
Sets the vector component at the specified position to the specified value.
| |
| SetValue(DoubleComplex) |
Sets all the components of the ComplexVector to
the specified value.
| |
| ShallowCopy() |
Makes a shallow copy of this ComplexVector.
| |
| Subtract(ComplexVector) |
Subtracts another ComplexVector from this ComplexVector.
| |
| Subtract(ComplexMatrix, ComplexVector) |
Subtracts the product of a ComplexMatrix and a
ComplexVector from this ComplexVector.
| |
| Subtract(ComplexVector, ComplexVector) |
Subtracts two ComplexVector values.
| |
| Subtraction(ComplexVector, ComplexVector) |
Subtracts two ComplexVector values.
| |
| Swap(ComplexVector, ComplexVector) |
Swaps the elements of two vectors.
| |
| SwapElements(Int32, Int32) |
Exchanges two elements of the vector.
| |
| ToConjugate() |
Changes the components of the vector to their complex conjugate.
| |
| ToGeneralVector() |
Makes a copy of this instance and returns it as a
ComplexGeneralVector.
| |
| ToString() |
Returns a String representation of this
ComplexVector.
| |
| ToString(String) |
Converts the numeric value of this ComplexVector instance
to its equivalent string representation, using the
specified format.
| |
| ToString(String, IFormatProvider) |
Returns a String representation of this
ComplexGeneralMatrix.
| |
| ToStringInternal(StringBuilder, String, IFormatProvider) |
Writes a string representation of this ComplexVector
to an instance of StringBuilder using the specified
number format.
| |
| UnaryNegation(ComplexVector) |
Negates a ComplexVector.
| |
| Zero() |
Sets all the components of the ComplexVector to 0.
|
Constructors
| Icon | Type | Description |
|---|---|---|
| ComplexVectorNew(Int32) |
Constructs a new ComplexVector with the specified
number of components.
| |
| ComplexVectorNew(SerializationInfo, StreamingContext) |
Constructs a new ComplexVector from serialization
data.
|
Properties
| Icon | Type | Description |
|---|---|---|
| Item(Int32) |
Gets or sets a specific component of this vector.
| |
| Item(Range) |
Gets or sets a range of components of the ComplexVector.
| |
| Length |
Gets the number of elements in the ComplexVector.
|
Remarks
The ComplexVector class represents a one-dimensional
array of DoubleComplex precision floating-point numbers.
The ComplexVector class provides methods and properties for all the common operations on vectors, including Norm(), DotProduct(ComplexVector), as well as retrieving extreme values from a vector.
Overloaded versions of the major arithmetic operators are provided for languages that support them. For languages that don't support operator overloading, equivalent staticSharedstatic methods are supplied.
To allow for greater efficiency, overloaded instance methods are available for many compound operations on vectors.