Matrix::LogN Method

Overload List

#SignatureDescription
1TMtxVec *LogN(double N) const;Log base N.
2TMtxVec *LogN(double N, int Index, int Len) const;Calculate the log base N of calling object elements [Index]..[Index+Len-1] in-place.
3TMtxVec *LogN(double N, TMtxVec *X) const;Calculate the log base N of all X object elements and store the results in calling object.
4TMtxVec *LogN(double N, TMtxVec *X, int XIndex, int Index, int Len) const;Calculate the log base N of X object elements [XIndex]..[XIndex+Len-1]. The results are stored in calling object elements [Index]..[Index+Len-1].

Overload 1: TMtxVec *LogN(double N) const;

Log base N.

#NameTypeDescription
1Ndouble
Remarks:

Calculate the log base N for all calling object elements in-place.

See Also: Matrix::Power
Declared in Dew::Math::Matrix · Dew.Math/MtxExpr.h · Cross-compiler

Overload 2: TMtxVec *LogN(double N, int Index, int Len) const;

Calculate the log base N of calling object elements [Index]..[Index+Len-1] in-place.

#NameTypeDescription
1Ndouble
2Indexint
3Lenint
Remarks:

An exception is raised if array borders are overrun.

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

Overload 3: TMtxVec *LogN(double N, TMtxVec *X) const;

Calculate the log base N of all X object elements and store the results in calling object.

#NameTypeDescription
1Ndouble
2XTMtxVec *
Remarks:

Size and Matrix::Complex properties of the calling object are adjusted automatically.

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

Overload 4: TMtxVec *LogN(double N, TMtxVec *X, int XIndex, int Index, int Len) const;

Calculate the log base N of X object elements [XIndex]..[XIndex+Len-1]. The results are stored in calling object elements [Index]..[Index+Len-1].

#NameTypeDescription
1Ndouble
2XTMtxVec *
3XIndexint
4Indexint
5Lenint
Remarks:

Size and Matrix::Complex properties of the calling object are not changed. An exception is raised if array borders are overrun.

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