Vector::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.
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].

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: Vector::Power
Declared in Dew::Math::Vector · 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::Vector · 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.

#NameTypeDescription
1Ndouble
2XTMtxVec *
Remarks:

Store the results in calling object. Size and Vector::Complex properties of the calling object are adjusted automatically.

Declared in Dew::Math::Vector · 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].

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

The results are stored in calling object elements [Index]..[Index+Len-1]. Size and Vector::Complex properties of the calling object are not changed. An exception is raised if array borders are overrun.

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