Overload List
| # | Signature | Description |
|---|---|---|
| 1 | void Mul(TSparseMtx C, TSparseMtx B, Int32 MaxNonZeroCount) | Multiply two sparse matrices (matrix multiplication). |
| 2 | TMtxVec Mul(TCplx Value) | Multiply all calling object elements with complex Value in-place. |
| └ indexed: TMtxVec Mul(TCplx Value, Int32 Index, Int32 Len) | ||
| 3 | TMtxVec Mul(TMtxVec Vec, TCplx Value) | Multiply each element of Vec with complex Value. |
| └ indexed: TMtxVec Mul(TMtxVec Vec, TCplx Value, Int32 VecIndex, Int32 Index, Int32 Len) | ||
| 4 | TMtxVec Mul(TMtxVec Vec, Double Value) | Multiply each element of Vec with Value. |
| └ indexed: TMtxVec Mul(TMtxVec Vec, Double Value, Int32 VecIndex, Int32 Index, Int32 Len) | ||
| 5 | TMtxVec Mul(Double Value) | Multiply object elements with Value. |
| └ indexed: TMtxVec Mul(Double Value, Int32 Index, Int32 Len) |
Overload 1: void Mul(TSparseMtx C, TSparseMtx B, Int32 MaxNonZeroCount)
Multiply two sparse matrices (matrix multiplication).
| # | Name | Type | Description |
|---|---|---|---|
| 1 | C | TSparseMtx | |
| 2 | B | TSparseMtx | |
| 3 | MaxNonZeroCount | Int32 |
Result: stored in self (calling object)
Multiply sparse matrices A and B and place the result in the calling matrix. Because the resulting matrix can be much less sparse, the memory requirements can increase beyond the available system memory. This method will raise an exception, if the requested memory size will exceed the value of MaxNonZeroCount.
Overload 2: TMtxVec Mul(TCplx Value)
Multiply all calling object elements with complex Value in-place.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Value | TCplx | scalar |
Result: stored in self (calling object), returns self for chaining
Indexed: TMtxVec Mul(TCplx Value, Int32 Index, Int32 Len)
Multipy calling object elements [Index]..[Index+Len-1] with complex Value in-place.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Value | TCplx | scalar |
| 2 | Index | Int32 | start index |
| 3 | Len | Int32 | element count |
Result: stored in self (calling object), returns self for chaining
An exception is raised if array borders are overrun or underrun.
Overload 3: TMtxVec Mul(TMtxVec Vec, TCplx Value)
Multiply each element of Vec with complex Value.
Result: stored in self (calling object), returns self for chaining
Store the result in the calling object. Size of the calling object is set automatically. Dew.Math.TMtxVec.Complex property of the calling object is set to True.
Indexed: TMtxVec Mul(TMtxVec Vec, TCplx Value, Int32 VecIndex, Int32 Index, Int32 Len)
Multiply Vec elements [VecIndex]..[VecIndex+Len-1] with complex Value.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Vec | TMtxVec | source TVec or TMtx |
| 2 | Value | TCplx | scalar |
| 3 | VecIndex | Int32 | |
| 4 | Index | Int32 | start index |
| 5 | Len | Int32 | element count |
Result: stored in self (calling object), returns self for chaining
Store the result in calling object elements [Index]..[Index+Len-1]. Size of the calling object is not changed. An exception is raised if array borders are overrun or underrun. Dew.Math.TMtxVec.Complex propertiy of the calling object is set to True.
Overload 4: TMtxVec Mul(TMtxVec Vec, Double Value)
Multiply each element of Vec with Value.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Vec | TMtxVec | source TVec or TMtx |
| 2 | Value | Double | scalar |
Result: stored in self (calling object), returns self for chaining
Store the result in the calling object. Size and Dew.Math.TMtxVec.Complex properties of the calling object are adjusted automatically.
Indexed: TMtxVec Mul(TMtxVec Vec, Double Value, Int32 VecIndex, Int32 Index, Int32 Len)
Multiply Vec elements [VecIndex]..[VecIndex+Len-1] with Value.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Vec | TMtxVec | source TVec or TMtx |
| 2 | Value | Double | scalar |
| 3 | VecIndex | Int32 | |
| 4 | Index | Int32 | start index |
| 5 | Len | Int32 | element count |
Result: stored in self (calling object), returns self for chaining
Store the result in calling object elements [Index]..[Index+Len-1]. Size of the calling object is not changed. An exception is raised if array borders are overrun or underrun. Dew.Math.TMtxVec.Complex propertiy of the calling object is set implicitly.
Overload 5: TMtxVec Mul(Double Value)
Multiply object elements with Value.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Value | Double | scalar |
Result: stored in self (calling object), returns self for chaining
Multiplies all calling object elements with Value in-place.
Vector v;
v.SetIt(1,3,false,new double[] {2,3,5}); // v = new double[] {2,3,5}
v = v*3; // v = new double[] {6,9,15}
Indexed: TMtxVec Mul(Double Value, Int32 Index, Int32 Len)
Multipy calling object elements [Index]..[Index+Len-1] with Value in-place.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Value | Double | scalar |
| 2 | Index | Int32 | start index |
| 3 | Len | Int32 | element count |
Result: stored in self (calling object), returns self for chaining
An exception is raised if array borders are overrun or underrun.