MatrixInt::Divide Method

Overload List

#SignatureDescription
1TMtxVecInt *Divide(TMtxVecInt *Num, TMtxVecInt *Den) const;Divides coresponding elements in Num with Den.
2TMtxVecInt *Divide(TMtxVecInt *Num, TMtxVecInt *Den, const int NumIndex, const int DenIndex, const int Index, const int Len) const;Divide coresponding elements in Num with Den.
3TMtxVecInt *Divide(TMtxVecInt *Src) const;Divide calling object elements with Src elements.
4TMtxVecInt *Divide(TMtxVecInt *Src, const int SrcIndex, const int Index, const int Len) const;Divide calling object elements with Src elements [SrcIndex..SrcIndex+Len-1].
5TMtxVecInt *Divide(TMtxVecInt *Src, const int Value) const;Divide all Src vector elements with integer Value.
6TMtxVecInt *Divide(TMtxVecInt *Src, const int Value, const int SrcIndex, const int Index, const int Len) const;Divide Src vector elements [SrcIndex..SrcIndex+Len-1] with integer Value.
7TMtxVecInt *Divide(const int Value) const;Divide all calling vector elements with integer value.
8TMtxVecInt *Divide(const int Value, const int Index, const int Len) const;Divide calling vector elements [Index..Index+Len-1] with integer value.
9TMtxVecInt *Divide(TMtxVecInt *X, TMtxVecInt *Y, TMtxVecInt *Z) const;Compute X / (Y*Z)
10TMtxVecInt *Divide(TMtxVecInt *X, int XIndex, TMtxVecInt *Y, int YIndex, TMtxVecInt *Z, int zIndex, int Index, int Len) const;Compute X/( Y*Z ) on sub array
11TMtxVecInt *Divide(const int X, TMtxVecInt *Y, TMtxVecInt *Z) const;Compute xScalar / (Y*Z)
12TMtxVecInt *Divide(const int X, TMtxVecInt *Y, int YIndex, TMtxVecInt *Z, int zIndex, int Index, int Len) const;Compute xScalar / (Y*Z) on sub array

Overload 1: TMtxVecInt *Divide(TMtxVecInt *Num, TMtxVecInt *Den) const;

Divides coresponding elements in Num with Den.

#NameTypeDescription
1NumTMtxVecInt *
2DenTMtxVecInt *

Returns: the result of dividing Num values with coresponding Den values.

Declared in Dew::Math::MatrixInt · Dew.Math/MtxExprInt.h · Cross-compiler

Overload 2: TMtxVecInt *Divide(TMtxVecInt *Num, TMtxVecInt *Den, const int NumIndex, const int DenIndex, const int Index, const int Len) const;

Divide coresponding elements in Num with Den.

#NameTypeDescription
1NumTMtxVecInt *
2DenTMtxVecInt *
3NumIndexconst int
4DenIndexconst int
5Indexconst int
6Lenconst int
Remarks:

Divide Num elements [NumIndex..NumIndex+Len-1] with corrresponding Deb elements [DenIndex..DenIndex+Len-1] and store the results in calling vector elements [Index..Index+Len-1]. An exception is raised if array borders are overrun.

Declared in Dew::Math::MatrixInt · Dew.Math/MtxExprInt.h · Cross-compiler

Overload 3: TMtxVecInt *Divide(TMtxVecInt *Src) const;

Divide calling object elements with Src elements.

#NameTypeDescription
1SrcTMtxVecInt *
Declared in Dew::Math::MatrixInt · Dew.Math/MtxExprInt.h · Cross-compiler

Overload 4: TMtxVecInt *Divide(TMtxVecInt *Src, const int SrcIndex, const int Index, const int Len) const;

Divide calling object elements with Src elements [SrcIndex..SrcIndex+Len-1].

#NameTypeDescription
1SrcTMtxVecInt *
2SrcIndexconst int
3Indexconst int
4Lenconst int
Remarks:

Divide calling object elements [Index..Index+Len ] with Src elements [SrcIndex..SrcIndex+Len-1]. An exception is raised if array borders are overrun.

Declared in Dew::Math::MatrixInt · Dew.Math/MtxExprInt.h · Cross-compiler

Overload 5: TMtxVecInt *Divide(TMtxVecInt *Src, const int Value) const;

Divide all Src vector elements with integer Value.

#NameTypeDescription
1SrcTMtxVecInt *
2Valueconst int
Remarks:

Size of calling vector is adjusted automatically.

Declared in Dew::Math::MatrixInt · Dew.Math/MtxExprInt.h · Cross-compiler

Overload 6: TMtxVecInt *Divide(TMtxVecInt *Src, const int Value, const int SrcIndex, const int Index, const int Len) const;

Divide Src vector elements [SrcIndex..SrcIndex+Len-1] with integer Value.

#NameTypeDescription
1SrcTMtxVecInt *
2Valueconst int
3SrcIndexconst int
4Indexconst int
5Lenconst int
Remarks:

Divide Src elements [SrcIndex..SrcIndex+Len-1] with integer Value and store tje results in calling vector elements [Index..Index+Len-1]. An exception is raised if array borders are overrun.

Declared in Dew::Math::MatrixInt · Dew.Math/MtxExprInt.h · Cross-compiler

Overload 7: TMtxVecInt *Divide(const int Value) const;

Divide all calling vector elements with integer value.

#NameTypeDescription
1Valueconst int
Declared in Dew::Math::MatrixInt · Dew.Math/MtxExprInt.h · Cross-compiler

Overload 8: TMtxVecInt *Divide(const int Value, const int Index, const int Len) const;

Divide calling vector elements [Index..Index+Len-1] with integer value.

#NameTypeDescription
1Valueconst int
2Indexconst int
3Lenconst int
Remarks:

An exception is raised if array borders are overrun.

Declared in Dew::Math::MatrixInt · Dew.Math/MtxExprInt.h · Cross-compiler

Overload 9: TMtxVecInt *Divide(TMtxVecInt *X, TMtxVecInt *Y, TMtxVecInt *Z) const;

Compute X / (Y*Z)

#NameTypeDescription
1XTMtxVecInt *
2YTMtxVecInt *
3ZTMtxVecInt *
Remarks:

The following expression would also run at the same or higher speed, when passing Y also for the Z parameter:

X / (Y^2)

Declared in Dew::Math::MatrixInt · Dew.Math/MtxExprInt.h · Cross-compiler

Overload 10: TMtxVecInt *Divide(TMtxVecInt *X, int XIndex, TMtxVecInt *Y, int YIndex, TMtxVecInt *Z, int zIndex, int Index, int Len) const;

Compute X/( Y*Z ) on sub array

#NameTypeDescription
1XTMtxVecInt *
2XIndexint
3YTMtxVecInt *
4YIndexint
5ZTMtxVecInt *
6zIndexint
7Indexint
8Lenint
Declared in Dew::Math::MatrixInt · Dew.Math/MtxExprInt.h · Cross-compiler

Overload 11: TMtxVecInt *Divide(const int X, TMtxVecInt *Y, TMtxVecInt *Z) const;

Compute xScalar / (Y*Z)

#NameTypeDescription
1Xconst int
2YTMtxVecInt *
3ZTMtxVecInt *
Declared in Dew::Math::MatrixInt · Dew.Math/MtxExprInt.h · Cross-compiler

Overload 12: TMtxVecInt *Divide(const int X, TMtxVecInt *Y, int YIndex, TMtxVecInt *Z, int zIndex, int Index, int Len) const;

Compute xScalar / (Y*Z) on sub array

#NameTypeDescription
1Xconst int
2YTMtxVecInt *
3YIndexint
4ZTMtxVecInt *
5zIndexint
6Indexint
7Lenint
Declared in Dew::Math::MatrixInt · Dew.Math/MtxExprInt.h · Cross-compiler