MtxExpr::DivideElem Function

Overload List

#SignatureDescription
1Vector DivideElem(TVec *X, TMtxVec *Y, TMtxVec *Z);Compute X / (Y*Z)
2Matrix DivideElem(TMtx *X, TMtxVec *Y, TMtxVec *Z);Compute X / (Y*Z), when X is a Matrix
3Vector DivideElem(const double X, TVec *Y, TMtxVec *Z);Compute xScalar / (Y*Z)
4Matrix DivideElem(const double X, TMtx *Y, TMtxVec *Z);Compute xScalar / (Y*Z), when Y is a Matrix
5Vector DivideElem(const TCplx &X, TVec *Y, TMtxVec *Z);Compute xScalar / (Y*Z)
6Matrix DivideElem(const TCplx &X, TMtx *Y, TMtxVec *Z);Compute xScalar / (Y*Z), where Y is a Matrix

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

Compute X / (Y*Z)

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

Divides X by the product of Y and Z without temporary objects.

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

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

Compute X / (Y*Z), when 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 3: Vector DivideElem(const double X, TVec *Y, TMtxVec *Z);

Compute xScalar / (Y*Z)

#NameTypeDescription
1Xconst double
2YTVec *
3ZTMtxVec *
Remarks:

Divides a scalar xScalar by the product of Y and Z without temporary objects. Since the first parameter is scalar, the overload is provided by splitting the second parameter into TVec and TMtx versions.

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

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

Compute xScalar / (Y*Z), when Y is a Matrix

#NameTypeDescription
1Xconst double
2YTMtx *
3ZTMtxVec *
Remarks:

The operation does only per-element math.

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

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

Compute xScalar / (Y*Z)

#NameTypeDescription
1Xconst TCplx &
2YTVec *
3ZTMtxVec *
Declared in Dew::Math::Units::MtxExpr · Dew.Math/Units.MtxExpr.h · Cross-compiler

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

Compute xScalar / (Y*Z), where Y is a Matrix

#NameTypeDescription
1Xconst TCplx &
2YTMtx *
3ZTMtxVec *
Declared in Dew::Math::Units::MtxExpr · Dew.Math/Units.MtxExpr.h · Cross-compiler