MtxExpr::Add Function

Overload List

#SignatureDescription
1Vector Add(TVec *X, TMtxVec *Y, TMtxVec *Z);Compute X + Y + Z
2Matrix Add(TMtx *X, TMtxVec *Y, TMtxVec *Z);Compute X + Y + Z, where X is a Matrix.
3Vector Add(TVec *X, TMtxVec *Y, const double Z);Compute X + Y + zScalar
4Matrix Add(TMtx *X, TMtxVec *Y, const double Z);Compute X + Y + zScalar, where X is a Matrix.
5Vector Add(TVec *X, TMtxVec *Y, const TCplx &Z);Compute X + Y + zScalar
6Matrix Add(TMtx *X, TMtxVec *Y, const TCplx &Z);Compute X + Y + zScalar, where X is a Matrix.

Overload 1: Vector Add(TVec *X, TMtxVec *Y, TMtxVec *Z);

Compute X + Y + Z

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

Computes the sum of three vector-based operands, X, Y, and Z, without creating temporary objects.

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

Overload 2: Matrix Add(TMtx *X, TMtxVec *Y, TMtxVec *Z);

Compute X + Y + Z, where X is a Matrix.

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

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

Compute X + Y + zScalar

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

Computes the sum of X and Y with an added scalar zScalar without temporary objects.

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

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

Compute X + Y + zScalar, where X is a Matrix.

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

Overload 5: Vector Add(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 6: Matrix Add(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