NeurApp 1.1
NeurApp - software for exploring approximation by artificial neural networks on functions of one or two variables.

IG::Num::ComplexVector Class Reference

Complex vector. More...

Inheritance diagram for IG::Num::ComplexVector:
Collaboration diagram for IG::Num::ComplexVector:

List of all members.

Public Member Functions

 ComplexVector (IComplexVector complexvec)
 Constructs a vector from aanother array.
 ComplexVector (int dim)
 Creates a complex vector of the specified dimension with elements initialized to 0.
 ComplexVector (int n, int i)
 Constructs an n-dimensional unit complex vector for i'th coordinate.
 ComplexVector (int n, double value)
 Constructs an n-dimensional constant complex vector with all components initialized to the specified value.
ComplexVector GetCopyThis ()
 Creates and returns a copy of the current complex vector, which is of the same type as the current vector.
override ComplexVectorBase GetCopyBase ()
 Creates and returns a copy of the current complex vector, which is of the same type as the current vector.
ComplexVector GetNewThis (int length)
 Creates and returns a new complex vector of the specified dimension in such a way that the type of the returned vector is the same as that of the current vector.
override ComplexVectorBase GetNewBase (int length)
 Creates and returns a new complex vector of the specified dimension in such a way that the type of the returned vector is the same as that of the current vector.
ComplexVector GetNewThis ()
 Creates and returns a new complex vector with the same dimension and of the same type as the current vector.
override ComplexVectorBase GetNewBase ()
 Creates and returns a new complex vector with the same dimension and of the same type as the current vector.
virtual ComplexMatrix GetNewComplexMatrixThis (int rowCount, int columnCount)
 Creates and returns a new complex matrix with the specified dimensona, and of a type that is consistent with the type of the current vector.
override ComplexMatrixBase GetNewComplexMatrixBase (int rowCount, int columnCount)
 Creates and returns a new complex matrix with the specified dimensona, and of a type that is consistent with the type of the current vector.
ComplexMatrix GetNewComplexMatrixThis ()
 Creates and returns a new matrix of a type that is consistent with the type of the current vector, and with both dimensions equal to the dimension of the current vector.
override ComplexMatrixBase GetNewComplexMatrixBase ()
 Creates and returns a complex new matrix of a type that is consistent with the type of the current vector, and with both dimensions equal to the dimension of the current vector.
override int GetHashCode ()
 Overrides the GetHashCode() appropriately.
override bool Equals (Object obj)
 Overrides the Equals() appropriately.

Static Public Member Functions

static ComplexVector Create (double[] components)
 Constructs a complex vector from a 1-D array.
static ComplexVector Create (MathNet.Numerics.LinearAlgebra.ComplexVector vec)
 Constructs a complex vector as a copy of a MathNet.Numerics.LinearAlgebra.ComplexVector object.
static ComplexVector Create (ComplexVector vec)
 Constructs a complex vector as a copy of another complex Vector object.
static ComplexVector Ones (int n)
 Generates an d2-dimensional complex vector filled with 1.
static ComplexVector Zeros (int n)
 Generates an d2-dimensional complex vector filled with 0.
static ComplexVector BasisVector (int n, int i)
 Generates an d2-dimensional unit complex vector for i-th coordinate.

Protected Member Functions

internal ComplexVector ()
virtual internal void Resize (int newdimension)
 Resizes the current complex vector to the specified dimension. If the new dimension equals the old one then nothing happens. As many components as possible are copied from the original to the resized vector.

Protected Attributes

internal
MathNet.Numerics.LinearAlgebra.ComplexVector 
Base = null

Properties

override int Length [get]
 Gets vector dimension.
override complex this [int i] [get, set]
 Gets or sets the specified complex vector component.

Private Member Functions

object ICloneable. Clone ()
 Returns a deep copy of a vector.

Private Attributes

complex[] _componenets
int _length

Detailed Description

Complex vector.

$A Igor Nov09 Apr11;


Constructor & Destructor Documentation

internal IG::Num::ComplexVector::ComplexVector ( ) [inline, protected]

$A Igor xx; Tako78 Apr20;

IG::Num::ComplexVector::ComplexVector ( IComplexVector  complexvec) [inline]

Constructs a vector from aanother array.

Parameters:
vecVector whose components are copied to the current vector.
See also:
Create

$A Igor xx; Tako78 Apr20;

IG::Num::ComplexVector::ComplexVector ( int  dim) [inline]

Creates a complex vector of the specified dimension with elements initialized to 0.

Parameters:
dimDimension of the created complex vector.
IG::Num::ComplexVector::ComplexVector ( int  n,
int  i 
) [inline]

Constructs an n-dimensional unit complex vector for i'th coordinate.

Parameters:
nDimensionality of complex vector.
iCoordinate index.

$A Igor xx; Tako78 Apr20;

IG::Num::ComplexVector::ComplexVector ( int  n,
double  value 
) [inline]

Constructs an n-dimensional constant complex vector with all components initialized to the specified value.

Parameters:
nDimensionality of complex vector.
valueValue to which all components are set.

$A Igor xx; Tako78 Apr20;


Member Function Documentation

static ComplexVector IG::Num::ComplexVector::Create ( double[]  components) [inline, static]

Constructs a complex vector from a 1-D array.

$A Igor xx; Tako78 Apr20;

static ComplexVector IG::Num::ComplexVector::Create ( MathNet.Numerics.LinearAlgebra.ComplexVector  vec) [inline, static]

Constructs a complex vector as a copy of a MathNet.Numerics.LinearAlgebra.ComplexVector object.

$A Igor xx; Tako78 Apr20;

static ComplexVector IG::Num::ComplexVector::Create ( ComplexVector  vec) [inline, static]

Constructs a complex vector as a copy of another complex Vector object.

$A Igor xx; Tako78 Apr20;

static ComplexVector IG::Num::ComplexVector::Ones ( int  n) [inline, static]

Generates an d2-dimensional complex vector filled with 1.

Parameters:
d2Dimensionality of complex vector.

$A Igor xx; Tako78 Apr20;

static ComplexVector IG::Num::ComplexVector::Zeros ( int  n) [inline, static]

Generates an d2-dimensional complex vector filled with 0.

Parameters:
d2Dimensionality of complex vector.

$A Igor xx; Tako78 Apr20;

static ComplexVector IG::Num::ComplexVector::BasisVector ( int  n,
int  i 
) [inline, static]

Generates an d2-dimensional unit complex vector for i-th coordinate.

Parameters:
d2Dimensionality of complex vector.
iCoordinate index.

$A Igor xx; Tako78 Apr20;

virtual internal void IG::Num::ComplexVector::Resize ( int  newdimension) [inline, protected, virtual]

Resizes the current complex vector to the specified dimension. If the new dimension equals the old one then nothing happens. As many components as possible are copied from the original to the resized vector.

Parameters:
newdimensionNew dimension of the vector.
ComplexVector IG::Num::ComplexVector::GetCopyThis ( ) [inline]

Creates and returns a copy of the current complex vector, which is of the same type as the current vector.

override ComplexVectorBase IG::Num::ComplexVector::GetCopyBase ( ) [inline, virtual]

Creates and returns a copy of the current complex vector, which is of the same type as the current vector.

Implements IG::Num::ComplexVectorBase.

ComplexVector IG::Num::ComplexVector::GetNewThis ( int  length) [inline]

Creates and returns a new complex vector of the specified dimension in such a way that the type of the returned vector is the same as that of the current vector.

Parameters:
lengthDimension of the returned vector.
override ComplexVectorBase IG::Num::ComplexVector::GetNewBase ( int  length) [inline, virtual]

Creates and returns a new complex vector of the specified dimension in such a way that the type of the returned vector is the same as that of the current vector.

Parameters:
lengthDimension of the returned vector.

Implements IG::Num::ComplexVectorBase.

ComplexVector IG::Num::ComplexVector::GetNewThis ( ) [inline]

Creates and returns a new complex vector with the same dimension and of the same type as the current vector.

override ComplexVectorBase IG::Num::ComplexVector::GetNewBase ( ) [inline, virtual]

Creates and returns a new complex vector with the same dimension and of the same type as the current vector.

Implements IG::Num::ComplexVectorBase.

virtual ComplexMatrix IG::Num::ComplexVector::GetNewComplexMatrixThis ( int  rowCount,
int  columnCount 
) [inline, virtual]

Creates and returns a new complex matrix with the specified dimensona, and of a type that is consistent with the type of the current vector.

Parameters:
rowCountNumber of rows of the returned matrix.
columnCountNumber of rows of the returned matrix.
Returns:
A matrix with specified dimensions, whose type is consistent with the type of the current vector.
override ComplexMatrixBase IG::Num::ComplexVector::GetNewComplexMatrixBase ( int  rowCount,
int  columnCount 
) [inline, virtual]

Creates and returns a new complex matrix with the specified dimensona, and of a type that is consistent with the type of the current vector.

Parameters:
rowCountNumber of rows of the returned matrix.
columnCountNumber of rows of the returned matrix.
Returns:
A matrix with specified dimensions, whose type is consistent with the type of the current vector.

Implements IG::Num::ComplexVectorBase.

ComplexMatrix IG::Num::ComplexVector::GetNewComplexMatrixThis ( ) [inline]

Creates and returns a new matrix of a type that is consistent with the type of the current vector, and with both dimensions equal to the dimension of the current vector.

override ComplexMatrixBase IG::Num::ComplexVector::GetNewComplexMatrixBase ( ) [inline, virtual]

Creates and returns a complex new matrix of a type that is consistent with the type of the current vector, and with both dimensions equal to the dimension of the current vector.

Implements IG::Num::ComplexVectorBase.

object ICloneable. IG::Num::ComplexVector::Clone ( ) [inline, private]

Returns a deep copy of a vector.

override int IG::Num::ComplexVector::GetHashCode ( ) [inline]

Overrides the GetHashCode() appropriately.

Returns:
override bool IG::Num::ComplexVector::Equals ( Object  obj) [inline]

Overrides the Equals() appropriately.


Member Data Documentation

internal MathNet.Numerics.LinearAlgebra.ComplexVector IG::Num::ComplexVector::Base = null [protected]

Property Documentation

override int IG::Num::ComplexVector::Length [get]

Gets vector dimension.

Reimplemented from IG::Num::ComplexVectorBase.

override complex IG::Num::ComplexVector::this[int i] [get, set]

Gets or sets the specified complex vector component.

Parameters:
iComponent index.

Reimplemented from IG::Num::ComplexVectorBase.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Enumerations Properties