NeurApp 1.1
NeurApp - software for exploring approximation by artificial neural networks on functions of one or two variables.
|
Complex vector. More...
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 |
Complex vector.
$A Igor Nov09 Apr11;
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.
vec | Vector whose components are copied to the current vector. |
$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.
dim | Dimension 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.
n | Dimensionality of complex vector. |
i | Coordinate 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.
n | Dimensionality of complex vector. |
value | Value to which all components are set. |
$A Igor xx; Tako78 Apr20;
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.
d2 | Dimensionality 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.
d2 | Dimensionality 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.
d2 | Dimensionality of complex vector. |
i | Coordinate 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.
newdimension | New 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.
length | Dimension 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.
length | Dimension 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.
rowCount | Number of rows of the returned matrix. |
columnCount | Number of rows of the returned matrix. |
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.
rowCount | Number of rows of the returned matrix. |
columnCount | Number of rows of the returned matrix. |
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.
override bool IG::Num::ComplexVector::Equals | ( | Object | obj | ) | [inline] |
Overrides the Equals() appropriately.
internal MathNet.Numerics.LinearAlgebra.ComplexVector IG::Num::ComplexVector::Base = null [protected] |
complex [] IG::Num::ComplexVector::_componenets [private] |
int IG::Num::ComplexVector::_length [private] |
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.
i | Component index. |
Reimplemented from IG::Num::ComplexVectorBase.