Overload List
Overload 1: Vector AddScaled(TVec *X, TVec *Y, double aScale);
Computes X + Y*Ascale
Internally calls Vector::AddScaled
Overload 2: Matrix AddScaled(TMtx *X, TMtx *Y, double aScale);
Computes X + Y*Ascale
Internally calls Matrix::AddScaled
Overload 3: Vector AddScaled(TVec *X, TVec *Y, const TCplx &aScale);
Computes X + Y*Ascale
Internally calls Vector::AddScaled
Overload 4: Matrix AddScaled(TMtx *X, TMtx *Y, const TCplx &aScale);
Computes X + Y*Ascale
Internally calls Matrix::AddScaled
Overload 5: Vector AddScaled(TVec *X, const double xScale, TMtxVec *Y, const double yScale);
Compute X*xScale + Y*yScale
| # | Name | Type | Description |
|---|---|---|---|
| 1 | X | TVec * | |
| 2 | xScale | const double | |
| 3 | Y | TMtxVec * | |
| 4 | yScale | const double |
Computes the specified expression without temporary objects and at the same speed as computing only X + Y.
Overload 6: Matrix AddScaled(TMtx *X, const double xScale, TMtxVec *Y, const double yScale);
Compute X*xScale + Y*yScale, when X is a Matrix
| # | Name | Type | Description |
|---|---|---|---|
| 1 | X | TMtx * | |
| 2 | xScale | const double | |
| 3 | Y | TMtxVec * | |
| 4 | yScale | const double |
The operation does only per-element math.
Overload 7: Vector AddScaled(TVec *X, const double xScale, TMtxVec *Y, const double yScale, TMtxVec *Z, const double zScale);
Compute X*xScale + Y*yScale + Z*zScale
| # | Name | Type | Description |
|---|---|---|---|
| 1 | X | TVec * | |
| 2 | xScale | const double | |
| 3 | Y | TMtxVec * | |
| 4 | yScale | const double | |
| 5 | Z | TMtxVec * | |
| 6 | zScale | const double |
Computes the weighted sum of X, Y, and Z without temporary objects.
Overload 8: Matrix AddScaled(TMtx *X, const double xScale, TMtxVec *Y, const double yScale, TMtxVec *Z, const double zScale);
Compute X*xScale + Y*yScale + Z*zScale
| # | Name | Type | Description |
|---|---|---|---|
| 1 | X | TMtx * | |
| 2 | xScale | const double | |
| 3 | Y | TMtxVec * | |
| 4 | yScale | const double | |
| 5 | Z | TMtxVec * | |
| 6 | zScale | const double |
Overload 9: Vector AddScaled(TVec *X, TMtxVec *Y, const double yScale);
Compute X + Y*yScale
| # | Name | Type | Description |
|---|---|---|---|
| 1 | X | TVec * | |
| 2 | Y | TMtxVec * | |
| 3 | yScale | const double |
Computes the sum of two vector-based operands, X and Y, where Y is first scaled by yScale. This operation is performed without creating temporary objects.
Overload 10: Matrix AddScaled(TMtx *X, TMtxVec *Y, const double yScale);
Compute X + Y*yScale, where X is a Matrix.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | X | TMtx * | |
| 2 | Y | TMtxVec * | |
| 3 | yScale | const double |
Overload 11: Vector AddScaled(TVec *X, TMtxVec *Y, const TCplx &yScale);
Compute X + Y*yScale
Overload 12: Matrix AddScaled(TMtx *X, TMtxVec *Y, const TCplx &yScale);
Compute X + Y*yScale, where X is a Matrix.
Overload 13: Vector AddScaled(TVec *X, TMtxVec *Y, TMtxVec *Z, const double zScale);
Compute X + Y + Z*zScale
| # | Name | Type | Description |
|---|---|---|---|
| 1 | X | TVec * | |
| 2 | Y | TMtxVec * | |
| 3 | Z | TMtxVec * | |
| 4 | zScale | const double |
Computes the sum of X and Y plus Z scaled by zScale without creating temporary objects.
Overload 14: Matrix AddScaled(TMtx *X, TMtxVec *Y, TMtxVec *Z, const double zScale);
Compute X + Y + Z*zScale, where X is a Matrix.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | X | TMtx * | |
| 2 | Y | TMtxVec * | |
| 3 | Z | TMtxVec * | |
| 4 | zScale | const double |
Overload 15: Vector AddScaled(TVec *X, TMtxVec *Y, TMtxVec *Z, const TCplx &zScale);
Compute X + Y + Z*zScale
Overload 16: Matrix AddScaled(TMtx *X, TMtxVec *Y, TMtxVec *Z, const TCplx &zScale);
Compute X + Y + Z*zScale, where X is a Matrix.
Overload 17: Vector AddScaled(TVec *X, TMtxVec *Y, const double yScale, TMtxVec *Z, const double zScale);
Compute X + Y*yScale + Z*zScale
| # | Name | Type | Description |
|---|---|---|---|
| 1 | X | TVec * | |
| 2 | Y | TMtxVec * | |
| 3 | yScale | const double | |
| 4 | Z | TMtxVec * | |
| 5 | zScale | const double |
Computes the sum of X and Y scaled by yScale plus Z scaled by zScale without temporary objects.
Overload 18: Matrix AddScaled(TMtx *X, TMtxVec *Y, const double yScale, TMtxVec *Z, const double zScale);
Compute X + Y*yScale + Z*zScale, where X is a Matrix.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | X | TMtx * | |
| 2 | Y | TMtxVec * | |
| 3 | yScale | const double | |
| 4 | Z | TMtxVec * | |
| 5 | zScale | const double |
Overload 19: Vector AddScaled(TVec *X, TMtxVec *Y, const TCplx &yScale, TMtxVec *Z, const TCplx &zScale);
Compute X + Y*yScale + Z*zScale
Overload 20: Matrix AddScaled(TMtx *X, TMtxVec *Y, const TCplx &yScale, TMtxVec *Z, const TCplx &zScale);
Compute X + Y*yScale + Z*zScale, where X is a Matrix.
Overload 21: Vector AddScaled(TVec *X, const TCplx &xScale, TMtxVec *Y, const TCplx &yScale);
Compute X*xScale + Y*yScale
Overload 22: Matrix AddScaled(TMtx *X, const TCplx &xScale, TMtxVec *Y, const TCplx &yScale);
Compute X*xScale + Y*yScale, where X is a Matrix
Overload 23: Vector AddScaled(TVec *X, const TCplx &xScale, TMtxVec *Y, const TCplx &yScale, TMtxVec *Z, const TCplx &zScale);
Compute X*xScale + Y*yScale + Z*zScale
| # | Name | Type | Description |
|---|---|---|---|
| 1 | X | TVec * | |
| 2 | xScale | const TCplx & | |
| 3 | Y | TMtxVec * | |
| 4 | yScale | const TCplx & | |
| 5 | Z | TMtxVec * | |
| 6 | zScale | const TCplx & |