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

IG::Num::IComplexVector Interface Reference

Complex vector intrface. More...

Inheritance diagram for IG::Num::IComplexVector:

List of all members.

Public Member Functions

IComplexVector GetCopy ()
 Returns a deep copy of the current object.
IComplexVector GetNew (int length)
 Creates and returns a new complex vector with the specified dimension, and of the same type as the current vector.
IComplexVector GetNew ()
 Creates and returns a new complex vector with the same dimension and of the same type as the current vector.
IComplexMatrix GetNewComplexMatrix (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.
IComplexMatrix GetNewComplexMatrix ()
 Creates and returns a new complex 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.
void SetConstant (complex elementValue)
 Sets all components of the current complex vector to the specified value.
void SetUnit (int which)
 Sets the current vector to the specific unit vector (one component equals 1, others are 0).
void SetRandom ()
 Sets the current vector such that it contains random elements on the interval {(0,1],(0,1]}.
void SetRandom (IRandomGenerator rnd)
 Sets the current vector such that it contains random elements on the interval {(0,1],(0,1]}.
void SetZero ()
 Sets all components of the current complex vector to 0.
IComplexVector Normalized ()
 Returns a complex vector that equals a normalized current vector.

Detailed Description

Complex vector intrface.

$A Igor Nov09 Apr11;


Member Function Documentation

IComplexVector IG::Num::IComplexVector::GetCopy ( )

Returns a deep copy of the current object.

Implemented in IG::Num::ComplexVectorBase.

IComplexVector IG::Num::IComplexVector::GetNew ( int  length)

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

Parameters:
lengthDimension of the newly created vector.
Returns:
A newly created vector of the specified dimension and of the same type as the current vector.

Implemented in IG::Num::ComplexVectorBase.

IComplexVector IG::Num::IComplexVector::GetNew ( )

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

Implemented in IG::Num::ComplexVectorBase.

IComplexMatrix IG::Num::IComplexVector::GetNewComplexMatrix ( 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.

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.

Implemented in IG::Num::ComplexVectorBase.

IComplexMatrix IG::Num::IComplexVector::GetNewComplexMatrix ( )

Creates and returns a new complex 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.

Implemented in IG::Num::ComplexVectorBase.

void IG::Num::IComplexVector::SetConstant ( complex  elementValue)

Sets all components of the current complex vector to the specified value.

Parameters:
elementValueValue to which vector elements are set.

Implemented in IG::Num::ComplexVectorBase.

void IG::Num::IComplexVector::SetUnit ( int  which)

Sets the current vector to the specific unit vector (one component equals 1, others are 0).

Parameters:
whichSpecifies which unit vector is set (i.e., which component equals 1).

Implemented in IG::Num::ComplexVectorBase.

void IG::Num::IComplexVector::SetRandom ( )

Sets the current vector such that it contains random elements on the interval {(0,1],(0,1]}.

Implemented in IG::Num::ComplexVectorBase.

void IG::Num::IComplexVector::SetRandom ( IRandomGenerator  rnd)

Sets the current vector such that it contains random elements on the interval {(0,1],(0,1]}.

Parameters:
rndRandom generator used to generate vector elements.

Implemented in IG::Num::ComplexVectorBase.

void IG::Num::IComplexVector::SetZero ( )

Sets all components of the current complex vector to 0.

Implemented in IG::Num::ComplexVectorBase.

IComplexVector IG::Num::IComplexVector::Normalized ( )

Returns a complex vector that equals a normalized current vector.

Implemented in IG::Num::ComplexVectorBase.


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