MtxExpr::MulAndDiv Function

Overload List

#SignatureDescription
1Vector MulAndDiv(TVec *X, TMtxVec *Y, const double xyScale, TMtxVec *Z);Compute X * Y * xyScale / Z
2Matrix MulAndDiv(TMtx *X, TMtxVec *Y, const double xyScale, TMtxVec *Z);Compute X * Y * xyScale / Z, when X is a Matrix.
3Vector MulAndDiv(TVec *X, TMtxVec *Y, const double Z);Compute X * Y / zScalar
4Matrix MulAndDiv(TMtx *X, TMtxVec *Y, const double Z);Compute X * Y / zScalar, when X is a Matrix.
5Vector MulAndDiv(TVec *X, TMtxVec *Y, TMtxVec *Z);Compute X * Y / Z
6Matrix MulAndDiv(TMtx *X, TMtxVec *Y, TMtxVec *Z);Compute X * Y / Z, where X is a Matrix
7Vector MulAndDiv(TVec *X, TMtxVec *Y, const TCplx &xyScale, TMtxVec *Z);Compute X * Y * xyScale / Z
8Matrix MulAndDiv(TMtx *X, TMtxVec *Y, const TCplx &xyScale, TMtxVec *Z);Compute X * Y * xyScale / Z, where X is a Matrix
9Vector MulAndDiv(TVec *X, TMtxVec *Y, const TCplx &Z);Compute X * Y / zScalar
10Matrix MulAndDiv(TMtx *X, TMtxVec *Y, const TCplx &Z);Compute X * Y / zScalar, where X is a Matrix

Overload 1: Vector MulAndDiv(TVec *X, TMtxVec *Y, const double xyScale, TMtxVec *Z);

Compute X Y xyScale / Z

#NameTypeDescription
1XTVec *
2YTMtxVec *
3xyScaleconst double
4ZTMtxVec *
Remarks:

Computes the product of X and Y scaled by xyScale, then divided by Z, without temporary objects.

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

Overload 2: Matrix MulAndDiv(TMtx *X, TMtxVec *Y, const double xyScale, TMtxVec *Z);

Compute X Y xyScale / Z, when X is a Matrix.

#NameTypeDescription
1XTMtx *
2YTMtxVec *
3xyScaleconst double
4ZTMtxVec *
Remarks:

The operation does only per-element math.

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

Overload 3: Vector MulAndDiv(TVec *X, TMtxVec *Y, const double Z);

Compute X * Y / zScalar

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

Computes the product of X and Y divided by the scalar zScalar without temporary objects.

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

Overload 4: Matrix MulAndDiv(TMtx *X, TMtxVec *Y, const double Z);

Compute X * Y / zScalar, when X is a Matrix.

#NameTypeDescription
1XTMtx *
2YTMtxVec *
3Zconst 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 MulAndDiv(TVec *X, TMtxVec *Y, TMtxVec *Z);

Compute X * Y / Z

#NameTypeDescription
1XTVec *
2YTMtxVec *
3ZTMtxVec *
Remarks:

Computes the element-wise product of X and Y, then divides the result by Z, all without creating temporary objects.

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

Overload 6: Matrix MulAndDiv(TMtx *X, TMtxVec *Y, TMtxVec *Z);

Compute X * Y / Z, where X is a Matrix

#NameTypeDescription
1XTMtx *
2YTMtxVec *
3ZTMtxVec *
Remarks:

The operation does only per-element math.

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

Overload 7: Vector MulAndDiv(TVec *X, TMtxVec *Y, const TCplx &xyScale, TMtxVec *Z);

Compute X Y xyScale / Z

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

Overload 8: Matrix MulAndDiv(TMtx *X, TMtxVec *Y, const TCplx &xyScale, TMtxVec *Z);

Compute X Y xyScale / Z, where X is a Matrix

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

Overload 9: Vector MulAndDiv(TVec *X, TMtxVec *Y, const TCplx &Z);

Compute X * Y / zScalar

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

Overload 10: Matrix MulAndDiv(TMtx *X, TMtxVec *Y, const TCplx &Z);

Compute X * Y / zScalar, where X is a Matrix

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