Overload List
| # | Signature | Description |
|---|---|---|
| 1 | void Size(const int ALength, const bool aIsComplex, const bool aIsDouble) const; | Sets the following properties |
| 2 | TMtxVec *Size(TMtxVecBase *Src, const TMtxFloatPrecision aFloatPrecision) const; | |
| 3 | void Size(const int ALength, const bool aIsComplex) const; | |
| 4 | TMtxVec *Size(TMtxVec *Src) const; | Size the object. |
| 5 | TMtxVec *Size(TMtxVec *Src, bool AComplex) const; | Also allows the complex property of the calling object to become of AComplex value instead of Src.Complex value. |
| 6 | TVec *Size(const int ALength, const TMtxFloatPrecision aFloatPrecision) const; | Sets the following properties: |
| 7 | TVec *Size(const int ALength, TMtxVec *aFloatPrecisionRef) const; | |
| 8 | TVec *Size(const int ALength) const; |
Overload 1: void Size(const int ALength, const bool aIsComplex, const bool aIsDouble) const;
Sets the following properties
| # | Name | Type | Description |
|---|---|---|---|
| 1 | ALength | const int | |
| 2 | aIsComplex | const bool | |
| 3 | aIsDouble | const bool |
Vec.Length := ALength; Vec.Complex := AComplex;
Overload 2: TMtxVec *Size(TMtxVecBase *Src, const TMtxFloatPrecision aFloatPrecision) const;
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Src | TMtxVecBase * | |
| 2 | aFloatPrecision | const TMtxFloatPrecision |
Overload 3: void Size(const int ALength, const bool aIsComplex) const;
| # | Name | Type | Description |
|---|---|---|---|
| 1 | ALength | const int | |
| 2 | aIsComplex | const bool |
Overload 4: TMtxVec *Size(TMtxVec *Src) const;
Size the object.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Src | TMtxVec * |
Assignes the size of the Src object to the calling object. If the calling object is a TVec object then the Src can be of any type, otherwise TMtx can only obtain size from a TMtx object and TSparseMtx can only obtain size from a TSparseMtx object.
If the calling object and Src are of different types, the complex property can be different, if both objects have a matching Vector::Length property. In this case only the Complex property of the calling object will changed, while all other properties describing the size of the object (rows, cols, length, nonZeros) will be preserved. This is different from simply setting the Complex property. Changing the Complex property directly would also change the Length, Cols and NonZeros properties.
Overload 5: TMtxVec *Size(TMtxVec *Src, bool AComplex) const;
Also allows the complex property of the calling object to become of AComplex value instead of Src.Complex value.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Src | TMtxVec * | |
| 2 | AComplex | bool |
It is also possible to pass the calling object as the Src with a different AComplex value. The value of the complex property can be changed without knowing the actual type of the object.
Overload 6: TVec *Size(const int ALength, const TMtxFloatPrecision aFloatPrecision) const;
Sets the following properties:
| # | Name | Type | Description |
|---|---|---|---|
| 1 | ALength | const int | |
| 2 | aFloatPrecision | const TMtxFloatPrecision |
Vec.Length := ALength; Vec.Complex := false;
Overload 7: TVec *Size(const int ALength, TMtxVec *aFloatPrecisionRef) const;
| # | Name | Type | Description |
|---|---|---|---|
| 1 | ALength | const int | |
| 2 | aFloatPrecisionRef | TMtxVec * |
Overload 8: TVec *Size(const int ALength) const;
| # | Name | Type | Description |
|---|---|---|---|
| 1 | ALength | const int |