NeurApp 1.1
NeurApp - software for exploring approximation by artificial neural networks on functions of one or two variables.
|
Complex matrix. More...
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. |
Complex matrix.
$A Igor Nov09 Mar11;
IComplexMatrix IG::Num::IComplexMatrix::GetCopy | ( | ) |
Creates and returns a copy of the current complex 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.
rowCount | Number fo rows of the newly created matrix. |
columnCount | Number of columns of the newly created 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.
length | Dimension of the newly created 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.
elementValue | Value 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]}.
rnd | Random 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.
diagonal | Vector 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.
diagonal | Vector 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.