DoubleComplexVector Class 
Namespace: CenterSpace.NMath.Core
The DoubleComplexVector type exposes the following members.
Name  Description  

DoubleComplexVector 
Undefined vector. Must be resized before using.
 
DoubleComplexVector(Int32) 
Constructs a DoubleComplexVector instance with the given length.
 
DoubleComplexVector(TextReader) 
Constructs a DoubleComplexVector instance from the given text reader.
 
DoubleComplexVector(String) 
Constructs a DoubleComplexVector instance from a given string representation.
 
DoubleComplexVector(DoubleComplex) 
Constructs a DoubleComplexVector instance from the contents of the given array.
 
DoubleComplexVector(DoubleComplexVector) 
Constructs a deep copy of a DoubleComplexVector.
 
DoubleComplexVector(DataRow, DataRow) 
Constructs a DoubleComplexVector instance from two data row arrays.
The real parts are specified with the first column of the first data row
array, and the imaginary parts by the first column of the second
data row array.
 
DoubleComplexVector(DataRowCollection, DataRowCollection) 
Constructs a DoubleComplexVector instance from two data row collections.
The real parts are specified with the first column of the first data row
collection, and the imaginary parts by the first column of the second
data row collection.
 
DoubleComplexVector(DataTable, DataTable) 
Constructs a DoubleComplexVector instance from the data tables. The real
parts are specified with the first column of the first data table, and the
imaginary parts by the first column in the second data table.
 
DoubleComplexVector(DataView, DataView) 
Constructs a DoubleComplexVector instance from the data views. The real
parts are specified with the first column of the first data view, and the
imaginary parts by the first column in the second data view.
 
DoubleComplexVector(Int32, DoubleComplex) 
Constructs a DoubleComplexVector instance with the given length, and all
values initialized to the given value.
 
DoubleComplexVector(Int32, FloatComplex) 
Constructs a DoubleComplexVector instance with the given length, and all
values initialized to the given value.
 
DoubleComplexVector(Int32, RandomNumberGenerator) 
Constructs a DoubleComplexVector instance from a random number generator.
 
DoubleComplexVector(TextReader, NumberStyles) 
Constructs a DoubleComplexVector instance from the given text reader using
the specified style.
 
DoubleComplexVector(String, NumberStyles) 
Returns a new DoubleComplexVector instance from a given string representation
using the specified style.
 
DoubleComplexVector(DoubleVector, DoubleVector) 
Constructs a DoubleComplexVector instance from a vector of real parts and a
vector of imaginary parts.
 
DoubleComplexVector(Int32, DoubleComplex, DoubleComplex) 
Constructs a DoubleComplexVector instance with the given length. Values
are initialized starting with the given initial value, incremented
by the specified amount for each element in the vector.
 
DoubleComplexVector(Int32, RandomNumberStream, IRandomNumberDistributionDouble) 
Constructs a DoubleComplexVector instance from a random number generator.
 
DoubleComplexVector(DoubleComplexDataBlock, Int32, Int32) 
Constructs a DoubleComplexVector instance with the specifed length, stride and
referenced data.

Name  Description  

DataBlock 
Gets a reference to the underlying data that this vector is viewing.
 
ItemInt32 
Gets and sets the data element at the given position.
 
ItemSlice 
Returns a new DoubleComplexVector instance pointing to the subset of this vector's data
indicated by the given Slice.
 
Length 
Gets the number of data elements in this vector.
 
Stride 
Gets the step between successive elements in the data that this vector is viewing.

Name  Description  

Add(DoubleComplex, DoubleComplexVector) 
Adds a scalar and a vector.
 
Add(DoubleComplexVector, DoubleComplex) 
Adds a vector and a scalar.
 
Add(DoubleComplexVector, DoubleComplexVector) 
Adds two vectors.
 
Add(DoubleComplex, DoubleComplexVector, DoubleComplexVector) 
Adds a vector and a complex number and puts the result into another vector.
 
Add(DoubleComplexVector, DoubleComplex, DoubleComplexVector) 
Adds a vector and a complex number and puts the result into another vector.
 
Add(DoubleComplexVector, DoubleComplexVector, DoubleComplexVector) 
Adds two vectors and puts the result into a third vector.
 
Append(DoubleComplex) 
Appends the given element to this vector.
 
Append(DoubleComplexVector) 
Appends the given vector to this vector.
 
Apply(FuncDoubleComplex, DoubleComplex) 
Returns a new vector with the same size as this vector, whose values are
the result of applying the given unary function to each element of this vector.
 
Apply(FuncDoubleComplex, Double) 
Returns a new vector with the same size as this vector, whose values are
the result of applying the given unary function to each element of this vector.
 
Apply(FuncDoubleComplex, DoubleComplex, DoubleComplex, DoubleComplex) 
Returns a new vector with the same size as this vector, whose values are
the result of applying the given binary function to each element of this vector.
The first parameter to the binary function is the vector element; the second
parameter is the passed DoubleComplex value.
 
Apply(FuncDoubleComplex, DoubleComplex, DoubleComplex, DoubleComplexVector) 
Returns a new vector with the same size as this vector, whose values are
the result of applying the given binary function to each element of this vector.
The first parameter to the binary function is an element of self; the
second parameter is the corresponding element of the passed vector.
 
Apply(FuncDoubleComplex, Int32, DoubleComplex, Int32) 
Returns a new vector with the same size as this vector, whose values are
the result of applying the given binary function to each element of this vector.
The first parameter to the binary function is the vector element; the second
parameter is the passed integer value.
 
Clear 
Sets the data elements of this vector to zero.
 
Clear(Slice) 
Sets the data elements of this vector indicated by the given Slice
to zero.
 
Clone 
Creates a deep copy of this vector.
 
DeepenThisCopy 
Guarantees that there is only one reference to the underlying
data and that this data is in contiguous storage.
 
Divide(DoubleComplex, DoubleComplexVector) 
Divides a scalar by a vector.
 
Divide(DoubleComplexVector, DoubleComplex) 
Divides a vector by a scalar.
 
Divide(DoubleComplexVector, DoubleComplexVector) 
Divides a vector by another vector.
 
Divide(DoubleComplex, DoubleComplexVector, DoubleComplexVector) 
Divides a complex number by a vector and puts the result into another vector.
 
Divide(DoubleComplexVector, DoubleComplex, DoubleComplexVector) 
Divides a vector by a complex number and puts the result into another vector.
 
Divide(DoubleComplexVector, DoubleComplexVector, DoubleComplexVector) 
Divides one vector by another vector and puts the result into a third vector.
 
Equals 
Tests for equality of this vector and another vector. Two vectors are equal
if they have the same dimensions and all values are equal.
(Overrides ObjectEquals(Object).)  
FromPolar 
Returns a complex vector in Cartesian form from the supplied polar
coordinates.
 
GetDoubleComplexEnumerator 
Creates an IDoubleComplexEnumerator out of the data elements in this vector.
 
GetEnumerator 
Creates an IEnumerator{DoubleComplex} out of the data elements in this vector.
 
GetHashCode 
Returns an integer hash code for this vector.
(Overrides ObjectGetHashCode.)  
GetSchema 
The method is reserved and should not be used.
 
Increment 
Adds the specified value to each element in the vector.
 
InfinityNorm 
Computes the infinitynorm of this vector.
 
Multiply(DoubleComplex, DoubleComplexVector) 
Multiplies a scalar with a vector.
 
Multiply(DoubleComplexVector, DoubleComplex) 
Multiplies a vector with a scalar.
 
Multiply(DoubleComplexVector, DoubleComplexVector) 
Multiplies two vectors.
 
Multiply(DoubleComplex, DoubleComplexVector, DoubleComplexVector) 
Multiplies a complex number and a vector and puts the result into another vector.
 
Multiply(DoubleComplexVector, DoubleComplex, DoubleComplexVector) 
Multiplies a vector and a complex number and puts the result into another vector.
 
Multiply(DoubleComplexVector, DoubleComplexVector, DoubleComplexVector) 
Multiplies two vectors and puts the result into a third vector.
 
NaNEquals 
Tests for equality of this vector and another vector. Two vectors are equal
if they have the same dimensions and all values are equal.
 
Negate 
Negates a vector.
 
OneNorm 
Computes the 1norm of this vector.
 
Parse(TextReader) 
Constructs a DoubleComplexVector instance from the given text reader.
 
Parse(String) 
Returns a new DoubleComplexVector instance from a given string representation.
 
Parse(TextReader, NumberStyles) 
Constructs a DoubleComplexVector instance from the given text reader using
the specified style.
 
Parse(String, NumberStyles) 
Returns a new DoubleComplexVector instance from a given string representation
using the specified style.
 
ReadXml 
Generates a DoubleComplexVector instance form its XML representation.
Examples
The vector:
[ (1,0) (2,0) (3,0) ]
would be serialized as:
 
Resize 
Changes the size of this vector to the specified length, adding zeros or
truncating as necessary.
 
ResizeAndClear 
Changes the size of this vector to the specified length, and resets the value
of all data elements to zero.
 
Reverse 
Returns a new vector view of the data in reverse order.
 
Scale 
Scales each element in the vector by the specified value.
 
Set(DoubleComplex) 
Sets the data elements of this vector to the specified value.
 
Set(Slice, DoubleComplex) 
Sets the data elements of this vector indicated by the given Slice
to the specified value.
 
ShallowCopy 
Creates a shallow copy of this vector.
 
Subtract(DoubleComplex, DoubleComplexVector) 
Subtracts a vector from a scalar.
 
Subtract(DoubleComplexVector, DoubleComplex) 
Subtracts a scalar from a vector.
 
Subtract(DoubleComplexVector, DoubleComplexVector) 
Subtracts a vector from a vector.
 
Subtract(DoubleComplex, DoubleComplexVector, DoubleComplexVector) 
Subtracts a vector from a complex number and puts the result into another vector.
 
Subtract(DoubleComplexVector, DoubleComplex, DoubleComplexVector) 
Subtracts a complex number from a vector and puts the result into another vector.
 
Subtract(DoubleComplexVector, DoubleComplexVector, DoubleComplexVector) 
Subtracts a vector from a second vector and puts the result into a third vector.
 
ToArray 
Copies data into an array and returns it.
 
ToImagDataTable 
Creates a data table containing the imaginary parts in this matrix.
 
ToImagDataTable(String) 
Creates a data table with the specified name containing the
imaginary parts in this matrix.
 
ToRealDataTable 
Creates a data table containing the real parts in this matrix.
 
ToRealDataTable(String) 
Creates a data table with the specified name containing the
real parts in this matrix.
 
ToString 
Returns a formatted string representation of this vector.
(Overrides ObjectToString.)  
ToString(String) 
Returns a formatted string representation of this vector.
 
Transform(FuncDoubleComplex) 
Modifies the elements of this vector by applying the given noargument function to
each element.
 
Transform(FuncDoubleComplex, DoubleComplex) 
Modifies the elements of this vector by applying the given unary function to
each element.
 
Transform(FuncDoubleComplex, DoubleComplex, DoubleComplex, DoubleComplex) 
Modifies the contents of this vector by applying the given binary function
to each element. The first parameter to the binary function is
the vector element; the second parameter is the passed DoubleComplex value.
 
Transform(FuncDoubleComplex, DoubleComplex, DoubleComplex, DoubleComplexVector) 
Modifies the contents of this vector by applying the given binary function
to each element. The first parameter to the binary function is an element
of self; the second parameter is the corresponding element of the passed vector.
 
Transform(FuncDoubleComplex, Int32, DoubleComplex, Int32) 
Modifies the contents of this vector by applying the given binary function
to each element. The first parameter to the binary function is
the vector element; the second parameter is the passed integer value.
 
TwoNorm 
Computes the 2norm of this vector.
 
Write(TextWriter) 
Writes a text representation of this vector to the given writer.
 
Write(TextWriter, String) 
Writes a formatted text representation of this vector.
 
WriteXml 
Converts an object into its XML representation.
Examples
The vector:
[ (1,0) (2,0) (3,0) ]
would be serialized as:

Name  Description  

Addition(DoubleComplex, DoubleComplexVector) 
Adds a scalar and a vector.
 
Addition(DoubleComplexVector, DoubleComplex) 
Adds a vector and a scalar.
 
Addition(DoubleComplexVector, DoubleComplexVector) 
Adds two vectors.
 
Division(DoubleComplex, DoubleComplexVector) 
Divides a scalar by a vector.
 
Division(DoubleComplexVector, DoubleComplex) 
Divides a vector by a scalar.
 
Division(DoubleComplexVector, DoubleComplexVector) 
Divides a vector by another vector.
 
Equality 
Tests for equality of two vectors. Two vectors are equal
if they have the same dimensions and all values are equal.
 
(DoubleVector to DoubleComplexVector) 
Implicitly converts a DoubleVector instance into a DoubleComplexVector instance.
 
(FloatComplexVector to DoubleComplexVector) 
Implicitly converts a FloatComplexVector instance into a DoubleComplexVector instance.
 
Inequality 
Tests for inequality of two vectors. Two vectors are unequal
if they have different dimensions or their values are not
all equal.
 
Multiply(DoubleComplex, DoubleComplexVector) 
Multiplies a scalar by a vector.
 
Multiply(DoubleComplexVector, DoubleComplex) 
Multiplies a vector by a scalar.
 
Multiply(DoubleComplexVector, DoubleComplexVector) 
Multiplies two vectors.
 
Subtraction(DoubleComplex, DoubleComplexVector) 
Subtracts a vector from a scalar.
 
Subtraction(DoubleComplexVector, DoubleComplex) 
Subtracts a complex number from a vector.
 
Subtraction(DoubleComplexVector, DoubleComplexVector) 
Subtracts a vector from another vector.
 
UnaryNegation 
Negates the elements in this vector.

Name  Description  

XmlDataElement 
XML data element name.
 
XmlDatumElement 
XML datum element name.
 
XmlLengthAttribute 
XML length attribute name.
