Extreme Optimization™: Complexity made simple.

Math and Statistics
Libraries for .NET

  • Home
  • Features
    • Math Library
    • Vector and Matrix Library
    • Statistics Library
    • Performance
    • Usability
  • Documentation
    • Introduction
    • Math Library User's Guide
    • Vector and Matrix Library User's Guide
    • Data Analysis Library User's Guide
    • Statistics Library User's Guide
    • Reference
  • Resources
    • Downloads
    • QuickStart Samples
    • Sample Applications
    • Frequently Asked Questions
    • Technical Support
  • Blog
  • Order
  • Company
    • About us
    • Testimonials
    • Customers
    • Press Releases
    • Careers
    • Partners
    • Contact us
Introduction
Deployment Guide
Nuget packages
Configuration
Using Parallelism
Expand Mathematics Library User's GuideMathematics Library User's Guide
Expand Vector and Matrix Library User's GuideVector and Matrix Library User's Guide
Expand Data Analysis Library User's GuideData Analysis Library User's Guide
Expand Statistics Library User's GuideStatistics Library User's Guide
Expand Data Access Library User's GuideData Access Library User's Guide
Expand ReferenceReference
ComplexDenseVector ClassExtreme Optimization Numerical Libraries for .NET Professional
Represents a complex vector with arbitrary components.
Inheritance Hierarchy

SystemObject
  Extreme.MathematicsComplexVector
    Extreme.Mathematics.LinearAlgebra.ComplexComplexDenseVector

Namespace: Extreme.Mathematics.LinearAlgebra.Complex
Assembly: Extreme.Numerics.Net40 (in Extreme.Numerics.Net40.dll) Version: 6.0.16073.0 (6.0.16312.0)
Syntax

C#
VB
C++
F#
Copy
[SerializableAttribute]
public sealed class ComplexDenseVector : ComplexVector, 
	IEnumerable, IComplexStorage, ICloneable, ISerializable
<SerializableAttribute>
Public NotInheritable Class ComplexDenseVector
	Inherits ComplexVector
	Implements IEnumerable, IComplexStorage, ICloneable, ISerializable
[SerializableAttribute]
public ref class ComplexDenseVector sealed : public ComplexVector, 
	IEnumerable, IComplexStorage, ICloneable, ISerializable
[<SealedAttribute>]
[<SerializableAttribute>]
type ComplexDenseVector =  
    class
        inherit ComplexVector
        interface IEnumerable
        interface IComplexStorage
        interface ICloneable
        interface ISerializable
    end

The ComplexDenseVector type exposes the following members.

Constructors

  NameDescription
Public methodComplexDenseVector(Int32)
Constructs a new ComplexDenseVector with the specified length.
Public methodComplexDenseVector(DoubleComplex)
Constructs a new ComplexDenseVector with the specified components.
Public methodComplexDenseVector(Double, Double)
Constructs a new ComplexDenseVector with the specified components.
Public methodComplexDenseVector(Int32, DoubleComplex)
Constructs a new ComplexDenseVector with the specified components.
Public methodComplexDenseVector(Int32, FuncInt32, DoubleComplex) Obsolete.
Constructs a new ComplexDenseVector and initializes it using the specified delegate.
Public methodComplexDenseVector(DoubleComplex, Boolean)
Constructs a new ComplexDenseVector with the specified components.
Public methodComplexDenseVector(Int32, DoubleComplex, Boolean)
Constructs a new ComplexDenseVector with the specified components.
Top
Properties

  NameDescription
Public propertyItemInt32
Gets or sets a specific component of this vector.
(Inherited from ComplexVector.)
Public propertyItemRange
Gets or sets a range of components of the complex vector.
(Inherited from ComplexVector.)
Public propertyLength
Gets the number of elements in the complex vector.
(Inherited from ComplexVector.)
Public propertyStorageArray
Gets the DoubleComplex array that stores the values for the instance.
Public propertyStorageIncrement
Gets the increment between successive elements of this instance in the StorageArray.
Public propertyStorageOffset
Gets the index of the first element of this instance in the StorageArray.
Top
Methods

  NameDescription
Public methodAbsoluteMax
Returns the value of the component in this ComplexDenseVector that has the largest absolute value.
(Overrides ComplexVectorAbsoluteMax.)
Public methodAbsoluteMaxIndex
Returns the index of the component in this ComplexDenseVector that has the largest absolute value.
(Overrides ComplexVectorAbsoluteMaxIndex.)
Public methodAbsoluteMin
Returns the value of the component in this ComplexDenseVector that has the smallest absolute value.
(Overrides ComplexVectorAbsoluteMin.)
Public methodAbsoluteMinIndex
Returns the index of the component in this ComplexDenseVector that has the smallest absolute value.
(Overrides ComplexVectorAbsoluteMinIndex.)
Public methodAdd(ComplexVector)
Adds another ComplexVector to this ComplexVector.
(Inherited from ComplexVector.)
Public methodAdd(DoubleComplex)
Adds a constant to a vector.
(Inherited from ComplexVector.)
Public methodAdd(ComplexMatrix, ComplexVector)
Adds the product of a ComplexMatrix and a ComplexVector to this ComplexVector.
(Inherited from ComplexVector.)
Public methodAdd(DoubleComplex, ComplexVector)
Adds a scaled ComplexVector to this vector.
(Overrides ComplexVectorAdd(DoubleComplex, ComplexVector).)
Public methodAdd(DoubleComplex, ComplexMatrix, ComplexVector)
Adds the scaled product of a ComplexMatrix and a ComplexVector to this ComplexVector.
(Overrides ComplexVectorAdd(DoubleComplex, ComplexMatrix, ComplexVector).)
Public methodApply(FuncDoubleComplex, DoubleComplex) Obsolete.
Applies a function to the elements of a complex vector.
(Inherited from ComplexVector.)
Public methodApplyInPlace
Applies a function to the elements of a ComplexDenseVector.
(Overrides ComplexVectorApplyInPlace(FuncDoubleComplex, DoubleComplex).)
Public methodAsDenseVector
Returns a ComplexDenseVector with the same components as this vector.
(Overrides ComplexVectorAsDenseVector.)
Public methodAsGeneralVector Obsolete.
Returns a ComplexDenseVector with the same components as this vector.
(Inherited from ComplexVector.)
Public methodClone
Makes a copy of this complex vector.
(Inherited from ComplexVector.)
Public methodClone(CloningMethod)
Makes a copy of this complex vector using the specified method.
(Overrides ComplexVectorClone(CloningMethod).)
Public methodCloneData
Gives this instance its own copy of its elements.
(Overrides ComplexVectorCloneData.)
Public methodComponentwiseDivide(ComplexVector) Obsolete.
Divides the components of this instance by the corresponding components of another vector.
(Inherited from ComplexVector.)
Public methodComponentwiseDivide(Vector)
Divides the components of this instance by the corresponding components of a real vector.
(Inherited from ComplexVector.)
Public methodComponentwiseMultiply(ComplexVector) Obsolete.
Multiplies the components of this instance by the corresponding components of another vector.
(Inherited from ComplexVector.)
Public methodComponentwiseMultiply(Vector) Obsolete.
Multiplies the components of this instance by the corresponding components of a real vector.
(Inherited from ComplexVector.)
Public methodConjugate
Returns a complex vector whose components are the complex conjugate of this vector's components.
(Inherited from ComplexVector.)
Public methodCopyTo(ComplexVector)
Copies the components of this complex vector to another vector.
(Inherited from ComplexVector.)
Public methodCopyTo(DoubleComplex)
Copies the components of this ComplexDenseVector to another vector.
(Overrides ComplexVectorCopyTo(DoubleComplex).)
Public methodCopyTo(ComplexVector, Int32)
Copies the components of this ComplexDenseVector to another vector starting at the specified position.
(Overrides ComplexVectorCopyTo(ComplexVector, Int32).)
Public methodDotProduct
Returns the dot product of this vector with another vector.
(Overrides ComplexVectorDotProduct(ComplexVector).)
Public methodElementwiseDivideInPlace
Divides the components of this instance by the corresponding components of another vector.
(Inherited from ComplexVector.)
Public methodElementwiseMultiplyInPlace(ComplexVector)
Multiplies the components of this instance by the corresponding components of another vector.
(Inherited from ComplexVector.)
Public methodElementwiseMultiplyInPlace(Vector)
Multiplies the components of this instance by the corresponding components of a real vector.
(Inherited from ComplexVector.)
Public methodEquals(Object)
Determines whether the specified Object is equal to the current ComplexDenseVector.
(Overrides ComplexVectorEquals(Object).)
Public methodEquals(Object, IEqualityComparer)
Returns whether an object is structurally equal to this instance.
(Inherited from ComplexVector.)
Public methodStatic memberFromPolar
Returns a new ComplexDenseVector from real vectors containing the amplitude and phase.
Public methodGetAmplitude
Returns a vector containing the amplitude (modulus) of each component of this vector.
(Inherited from ComplexVector.)
Public methodGetComponents Obsolete.
Gets the components of the complex vector.
(Inherited from ComplexVector.)
Public methodGetEnumerator
Returns a IEnumeratorT for this ComplexDenseVector.
(Overrides ComplexVectorGetEnumerator.)
Public methodGetHashCode
Returns the hash code for this instance.
(Overrides ComplexVectorGetHashCode.)
Public methodGetHashCode(IEqualityComparer)
Returns a hash code for this instance.
(Inherited from ComplexVector.)
Public methodGetImaginaryPart
Returns a real vector containing the imaginary elements of the vector.
(Inherited from ComplexVector.)
Public methodGetObjectData
Populates a SerializationInfo with the values needed to serialize the target object.
(Overrides ComplexVectorGetObjectData(SerializationInfo, StreamingContext).)
Public methodGetPhase
Returns a vector containing the phase (argument) of each component of this vector.
(Inherited from ComplexVector.)
Public methodGetProduct
Gets the product of the elements of the vector.
(Inherited from ComplexVector.)
Public methodGetRealPart
Returns a real vector containing the real elements of the vector.
(Inherited from ComplexVector.)
Public methodGetSubvector(Range)
Returns a vector whose components are a subset of the components of this instance
(Inherited from ComplexVector.)
Public methodGetSubvector(Int32, Int32)
Returns a vector whose components are a subset of the components of this instance
(Inherited from ComplexVector.)
Public methodGetSubvector(Int32, Int32, Int32)
Returns a vector that points to a part of this ComplexDenseVector
(Overrides ComplexVectorGetSubvector(Int32, Int32, Int32).)
Public methodGetSum
Gets the sum of the elements of the vector.
(Inherited from ComplexVector.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodGetValue
Gets the vector component at the specified position.
(Overrides ComplexVectorGetValue(Int32).)
Public methodIsComponentWritable Obsolete.
Gets a value indicating whether the value of the component at the specified index can be changed.
(Inherited from ComplexVector.)
Public methodIsElementWritable
Gets a value indicating whether the value of the component at the specified index can be changed.
(Overrides ComplexVectorIsElementWritable(Int32).)
Public methodMultiply(ComplexMatrix)
Multiplies the vector on the left by a matrix.
(Inherited from ComplexVector.)
Public methodMultiply(DoubleComplex)
Multiplies a vector by a given factor.
(Overrides ComplexVectorMultiply(DoubleComplex).)
Public methodMultiply(ComplexMatrix, MatrixOperationSide)
Multiplies a ComplexVector by a ComplexMatrix.
(Inherited from ComplexVector.)
Public methodNorm
Returns the two-norm of the complex vector.
(Inherited from ComplexVector.)
Public methodNorm(Double)
Returns the norm of the specified order of this complex vector.
(Inherited from ComplexVector.)
Public methodNorm(Int32)
Returns the norm of the specified order of this complex vector.
(Inherited from ComplexVector.)
Public methodNormalize
Scales the complex vector to make its two-norm equal to one.
(Inherited from ComplexVector.)
Public methodNormSquared
Returns the square of the two-norm of this complex vector.
(Inherited from ComplexVector.)
Public methodOneNorm
Returns the one-norm of this complex vector.
(Inherited from ComplexVector.)
Public methodPermute(Permutation)
Permutes a vector.
(Inherited from ComplexVector.)
Public methodPermute(Permutation, Boolean)
Permutes a vector.
(Inherited from ComplexVector.)
Public methodSetValue(DoubleComplex)
Sets all the components of the ComplexDenseVector to the specified value.
(Overrides ComplexVectorSetValue(DoubleComplex).)
Public methodSetValue(DoubleComplex, Int32)
Sets the vector component at the specified position to the specified value.
(Overrides ComplexVectorSetValue(DoubleComplex, Int32).)
Public methodShallowCopy
Makes a shallow copy of this complex vector.
(Inherited from ComplexVector.)
Public methodSubtract(ComplexVector)
Subtracts another ComplexVector from this ComplexVector.
(Inherited from ComplexVector.)
Public methodSubtract(ComplexMatrix, ComplexVector)
Subtracts the product of a ComplexMatrix and a ComplexVector from this ComplexVector.
(Inherited from ComplexVector.)
Public methodStatic memberSwap
Swaps the elements of two vectors.
Public methodSwapElements
Exchanges two elements of the vector.
(Inherited from ComplexVector.)
Public methodToArray
Gets the components of this ComplexDenseVector.
(Overrides ComplexVectorToArray.)
Public methodToConjugate
Changes the elements of the vector to their complex conjugate.
(Inherited from ComplexVector.)
Public methodToDenseVector
Makes a copy of this instance and returns it as a ComplexDenseVector.
(Inherited from ComplexVector.)
Public methodToGeneralVector Obsolete.
Makes a copy of this instance and returns it as a ComplexDenseVector.
(Inherited from ComplexVector.)
Public methodToString
Returns a String representation of this ComplexVector.
(Inherited from ComplexVector.)
Public methodToString(String)
Converts the numeric value of this complex vector instance to its equivalent string representation, using the specified format.
(Inherited from ComplexVector.)
Public methodToString(String, IFormatProvider)
Returns a String representation of this ComplexDenseMatrix.
(Inherited from ComplexVector.)
Public methodZero
Sets all the components of the complex vector to 0.
(Inherited from ComplexVector.)
Top
Remarks

The ComplexGeneralVector class represents a one-dimensional array of double-precision floating-point numbers.

The ComplexVector class provides methods and properties for all the common operations on vectors, including norms, dot products, 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 methods are supplied.

To allow for greater efficiency, overloaded instance methods are available for many compound operations on vectors.

Version Information

Numerical Libraries

Supported in: 5.x, 4.x
See Also

Reference

Extreme.Mathematics.LinearAlgebra.Complex Namespace

Copyright (c) 2004-2016 ExoAnalytics Inc.

Send comments on this topic to support@extremeoptimization.com

Copyright © 2004-2021, Extreme Optimization. All rights reserved.
Extreme Optimization, Complexity made simple, M#, and M Sharp are trademarks of ExoAnalytics Inc.
Microsoft, Visual C#, Visual Basic, Visual Studio, Visual Studio.NET, and the Optimized for Visual Studio logo
are registered trademarks of Microsoft Corporation.