TSparseMtx::LogN Method

Overload List

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

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

Log base N.

#NameTypeDescription
1Nconst double

Returns: Log base N for all calling object elements in-place.

See Also: TSparseMtx::Power
Declared in Dew::Math::TMtxVec · Dew.Math/AbstractMtxVec.h · Cross-compiler

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

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

#NameTypeDescription
1Nconst double
2Indexint
3Lenint
Remarks:

An exception is raised if array borders are overrun.

Declared in Dew::Math::TMtxVec · Dew.Math/AbstractMtxVec.h · Cross-compiler

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

Calculate the log base N of all X object elements.

#NameTypeDescription
1Nconst double
2XTMtxVec *
Remarks:

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

Declared in Dew::Math::TMtxVec · Dew.Math/AbstractMtxVec.h · Cross-compiler

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

Calculate the log base N of X object elements [XIndex]..[XIndex+Len-1].

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

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

Declared in Dew::Math::TMtxVec · Dew.Math/AbstractMtxVec.h · Cross-compiler