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

IG::Num::IComplexMatrix Interface Reference

Complex matrix. More...

Inheritance diagram for IG::Num::IComplexMatrix:

List of all members.

Public Member Functions

IComplexMatrix GetCopy ()
 Creates and returns a copy of the current complex matrix.
IComplexMatrix GetNew (int rowCount, int columnCount)
 Creates and returns a new complex matrix with the specified dimensions, and of the same type as the current matrix.
IComplexMatrix GetNew ()
 Creates and returns a new complex matrix with the same dimensions and of the same type as the current matrix.
IComplexVector GetNewComplexVector (int length)
 Creates and returns a new complex vector with the specified dimension, and of the type that is consistent with the type of the current vector.
void SetConstant (complex elementValue)
 Sets all components of the current complex matrix to the specified value.
void SetIdentity ()
 Sets the current matrix to identity matrix.
void SetRandom ()
 Sets the current complex matrix such that it contains random elements on the interval {(0,1],(0,1]}.
void SetRandom (IRandomGenerator rnd)
 Sets the current complex matrix such that it contains random elements on the interval {(0,1],(0,1]}.
void SetDiagonal (IComplexVector diagonal)
 Sets the current complex matrix to the diagonal matrix with diagonal element specified by a vector.
void SetDiagonal (IVector diagonal)
 Sets the current complex matrix to the diagonal matrix with real diagonal elements specified by a real vector.
string ToStringNewlines ()
 Returns a string representation of the current complex matrix with newlines inserted after each row. Rows and elements are printed in comma separated lists in curly brackets.
string ToStringMath ()
 Returns string representation of the current complex matrix in the standard IGLib form (Mathematica-like format but with C representation of numbers). Rows and elements are printed in comma separated lists in curly brackets.

Detailed Description

Complex matrix.

$A Igor Nov09 Mar11;


Member Function Documentation

IComplexMatrix IG::Num::IComplexMatrix::GetCopy ( )

Creates and returns a copy of the current complex matrix.

Returns:
A new copy of the current matrix. The copy is supposed to be of the same type as the current matrix.

Implemented in IG::Num::ComplexMatrixBase.

IComplexMatrix IG::Num::IComplexMatrix::GetNew ( int  rowCount,
int  columnCount 
)

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

Parameters:
rowCountNumber fo rows of the newly created matrix.
columnCountNumber of columns of the newly created matrix.
Returns:
A newly created matrix of the specified dimensions and of the same type as the current matrix.

Implemented in IG::Num::ComplexMatrixBase.

IComplexMatrix IG::Num::IComplexMatrix::GetNew ( )

Creates and returns a new complex matrix with the same dimensions and of the same type as the current matrix.

Implemented in IG::Num::ComplexMatrixBase.

IComplexVector IG::Num::IComplexMatrix::GetNewComplexVector ( int  length)

Creates and returns a new complex vector with the specified dimension, and of the type that is consistent with the type of 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::ComplexMatrixBase.

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

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

Parameters:
elementValueValue to which elements are set.

Implemented in IG::Num::ComplexMatrixBase.

void IG::Num::IComplexMatrix::SetIdentity ( )

Sets the current matrix to identity matrix.

Implemented in IG::Num::ComplexMatrixBase.

void IG::Num::IComplexMatrix::SetRandom ( )

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

Implemented in IG::Num::ComplexMatrixBase.

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

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

Parameters:
rndRandom generator used to generate matrix elements.

Implemented in IG::Num::ComplexMatrixBase.

void IG::Num::IComplexMatrix::SetDiagonal ( IComplexVector  diagonal)

Sets the current complex matrix to the diagonal matrix with diagonal element specified by a vector.

Parameters:
diagonalVector of diagonal elements.

Implemented in IG::Num::ComplexMatrixBase.

void IG::Num::IComplexMatrix::SetDiagonal ( IVector  diagonal)

Sets the current complex matrix to the diagonal matrix with real diagonal elements specified by a real vector.

Parameters:
diagonalVector of (real) diagonal elements.

Implemented in IG::Num::ComplexMatrixBase.

string IG::Num::IComplexMatrix::ToStringNewlines ( )

Returns a string representation of the current complex matrix with newlines inserted after each row. Rows and elements are printed in comma separated lists in curly brackets.

Implemented in IG::Num::ComplexMatrixBase.

string IG::Num::IComplexMatrix::ToStringMath ( )

Returns string representation of the current complex matrix in the standard IGLib form (Mathematica-like format but with C representation of numbers). Rows and elements are printed in comma separated lists in curly brackets.

Implemented in IG::Num::ComplexMatrixBase.


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