NeurApp 1.1
NeurApp - software for exploring approximation by artificial neural networks on functions of one or two variables.
|
Complex vector intrface. More...
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. |
Complex vector intrface.
$A Igor Nov09 Apr11;
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.
length | Dimension of the newly created 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.
rowCount | Number of rows of the returned matrix. |
columnCount | Number of rows of the returned matrix. |
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.
elementValue | Value 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).
which | Specifies 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]}.
rnd | Random 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.