Overload List
| # | Signature | Description |
|---|---|---|
| 1 | Vector SqrAddScaled(TVec *X, const double xScale, TMtxVec *Y, const double yScale); | Compute sqr(X)*xScale + sqr(Y)*yScale |
| 2 | Matrix SqrAddScaled(TMtx *X, const double xScale, TMtxVec *Y, const double yScale); | Compute sqr(X)*xScale + sqr(Y)*yScale, when X is a matrix |
| 3 | Vector SqrAddScaled(TVec *X, TMtxVec *Y, const double yScale); | Compute sqr(X) + sqr(Y)*yScale |
| 4 | Matrix SqrAddScaled(TMtx *X, TMtxVec *Y, const double yScale); | Compute sqr(X) + sqr(Y)*yScale, when X is a Matrix. |
| 5 | Vector SqrAddScaled(TVec *X, const TCplx &xScale, TMtxVec *Y, const TCplx &yScale); | Compute sqr(X)*xScale + sqr(Y)*yScale |
| 6 | Matrix SqrAddScaled(TMtx *X, const TCplx &xScale, TMtxVec *Y, const TCplx &yScale); | Compute sqr(X)*xScale + sqr(Y)*yScale, where X is a Matrix |
| 7 | Vector SqrAddScaled(TVec *X, TMtxVec *Y, const TCplx &yScale); | Compute sqr(X) + sqr(Y)*yScale |
| 8 | Matrix SqrAddScaled(TMtx *X, TMtxVec *Y, const TCplx &yScale); | Compute sqr(X) + sqr(Y)*yScale, where X is a Matrix |
Overload 1: Vector SqrAddScaled(TVec *X, const double xScale, TMtxVec *Y, const double yScale);
Compute sqr(X)*xScale + sqr(Y)*yScale
| # | Name | Type | Description |
|---|---|---|---|
| 1 | X | TVec * | |
| 2 | xScale | const double | |
| 3 | Y | TMtxVec * | |
| 4 | yScale | const double |
Remarks:
Computes the weighted sum of the squares of X and Y without temporary objects.
Declared in Dew::Math::Units::MtxExpr · Dew.Math/Units.MtxExpr.h · Cross-compiler
Overload 2: Matrix SqrAddScaled(TMtx *X, const double xScale, TMtxVec *Y, const double yScale);
Compute sqr(X)*xScale + sqr(Y)*yScale, when X is a matrix
| # | Name | Type | Description |
|---|---|---|---|
| 1 | X | TMtx * | |
| 2 | xScale | const double | |
| 3 | Y | TMtxVec * | |
| 4 | yScale | const double |
Remarks:
The operation does only per-element math.
Declared in Dew::Math::Units::MtxExpr · Dew.Math/Units.MtxExpr.h · Cross-compiler
Overload 3: Vector SqrAddScaled(TVec *X, TMtxVec *Y, const double yScale);
Compute sqr(X) + sqr(Y)*yScale
| # | Name | Type | Description |
|---|---|---|---|
| 1 | X | TVec * | |
| 2 | Y | TMtxVec * | |
| 3 | yScale | const double |
Remarks:
Computes the sum of the square of X and the scaled square of Y without temporary objects.
Declared in Dew::Math::Units::MtxExpr · Dew.Math/Units.MtxExpr.h · Cross-compiler
Overload 4: Matrix SqrAddScaled(TMtx *X, TMtxVec *Y, const double yScale);
Compute sqr(X) + sqr(Y)*yScale, when X is a Matrix.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | X | TMtx * | |
| 2 | Y | TMtxVec * | |
| 3 | yScale | const double |
Remarks:
The operation does only per-element math.
Declared in Dew::Math::Units::MtxExpr · Dew.Math/Units.MtxExpr.h · Cross-compiler
Overload 5: Vector SqrAddScaled(TVec *X, const TCplx &xScale, TMtxVec *Y, const TCplx &yScale);
Compute sqr(X)*xScale + sqr(Y)*yScale
Declared in Dew::Math::Units::MtxExpr · Dew.Math/Units.MtxExpr.h · Cross-compiler
Overload 6: Matrix SqrAddScaled(TMtx *X, const TCplx &xScale, TMtxVec *Y, const TCplx &yScale);
Compute sqr(X)*xScale + sqr(Y)*yScale, where X is a Matrix
Declared in Dew::Math::Units::MtxExpr · Dew.Math/Units.MtxExpr.h · Cross-compiler
Overload 7: Vector SqrAddScaled(TVec *X, TMtxVec *Y, const TCplx &yScale);
Compute sqr(X) + sqr(Y)*yScale
Declared in Dew::Math::Units::MtxExpr · Dew.Math/Units.MtxExpr.h · Cross-compiler