MtxExpr::AddScaledSqr Function

Overload List

#SignatureDescription
1Vector AddScaledSqr(TVec *X, const double xScale, TMtxVec *Y, const double yScale);Compute sqr(X*xScale + Y*yScale)
2Matrix AddScaledSqr(TMtx *X, const double xScale, TMtxVec *Y, const double yScale);Compute sqr(X*xScale + Y*yScale), when X is a Matrix
3Vector AddScaledSqr(TVec *X, TMtxVec *Y, const double yScale);Compute sqr(X + Y*yScale)
4Matrix AddScaledSqr(TMtx *X, TMtxVec *Y, const double yScale);Compute sqr(X + Y*yScale) when X is a matrix
5Vector AddScaledSqr(TVec *X, const TCplx &xScale, TMtxVec *Y, const TCplx &yScale);Compute sqr(X*xScale + Y*yScale)
6Matrix AddScaledSqr(TMtx *X, const TCplx &xScale, TMtxVec *Y, const TCplx &yScale);Compute sqr(X*xScale + Y*yScale), where X is a Matrix
7Vector AddScaledSqr(TVec *X, TMtxVec *Y, const TCplx &yScale);Compute sqr(X + Y*yScale)
8Matrix AddScaledSqr(TMtx *X, TMtxVec *Y, const TCplx &yScale);Compute sqr(X + Y*yScale), where X is a Matrix

Overload 1: Vector AddScaledSqr(TVec *X, const double xScale, TMtxVec *Y, const double yScale);

Compute sqr(X*xScale + Y*yScale)

#NameTypeDescription
1XTVec *
2xScaleconst double
3YTMtxVec *
4yScaleconst double
Remarks:

Computes the square of the expression X*xScale + Y*yScale without temporary objects.

Declared in Dew::Math::Units::MtxExpr · Dew.Math/Units.MtxExpr.h · Cross-compiler

Overload 2: Matrix AddScaledSqr(TMtx *X, const double xScale, TMtxVec *Y, const double yScale);

Compute sqr(X*xScale + Y*yScale), when X is a Matrix

#NameTypeDescription
1XTMtx *
2xScaleconst double
3YTMtxVec *
4yScaleconst 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 AddScaledSqr(TVec *X, TMtxVec *Y, const double yScale);

Compute sqr(X + Y*yScale)

#NameTypeDescription
1XTVec *
2YTMtxVec *
3yScaleconst double
Remarks:

Computes the square of (X + Y*yScale) without temporary objects.

Declared in Dew::Math::Units::MtxExpr · Dew.Math/Units.MtxExpr.h · Cross-compiler

Overload 4: Matrix AddScaledSqr(TMtx *X, TMtxVec *Y, const double yScale);

Compute sqr(X + Y*yScale) when X is a matrix

#NameTypeDescription
1XTMtx *
2YTMtxVec *
3yScaleconst 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 AddScaledSqr(TVec *X, const TCplx &xScale, TMtxVec *Y, const TCplx &yScale);

Compute sqr(X*xScale + Y*yScale)

#NameTypeDescription
1XTVec *
2xScaleconst TCplx &
3YTMtxVec *
4yScaleconst TCplx &
Declared in Dew::Math::Units::MtxExpr · Dew.Math/Units.MtxExpr.h · Cross-compiler

Overload 6: Matrix AddScaledSqr(TMtx *X, const TCplx &xScale, TMtxVec *Y, const TCplx &yScale);

Compute sqr(X*xScale + Y*yScale), where X is a Matrix

#NameTypeDescription
1XTMtx *
2xScaleconst TCplx &
3YTMtxVec *
4yScaleconst TCplx &
Declared in Dew::Math::Units::MtxExpr · Dew.Math/Units.MtxExpr.h · Cross-compiler

Overload 7: Vector AddScaledSqr(TVec *X, TMtxVec *Y, const TCplx &yScale);

Compute sqr(X + Y*yScale)

#NameTypeDescription
1XTVec *
2YTMtxVec *
3yScaleconst TCplx &
Declared in Dew::Math::Units::MtxExpr · Dew.Math/Units.MtxExpr.h · Cross-compiler

Overload 8: Matrix AddScaledSqr(TMtx *X, TMtxVec *Y, const TCplx &yScale);

Compute sqr(X + Y*yScale), where X is a Matrix

#NameTypeDescription
1XTMtx *
2YTMtxVec *
3yScaleconst TCplx &
Declared in Dew::Math::Units::MtxExpr · Dew.Math/Units.MtxExpr.h · Cross-compiler