TOpenCLValue::LogN Method

Overload List

#SignatureDescription
1TOpenCLBase *LogN(const double N, TOpenCLBase *X, int XIndex, int Index, int Len);
2TOpenCLValue *LogN(double N, TOpenCLValue *X);Log base N.

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

#NameTypeDescription
1Nconst double
2XTOpenCLBase *
3XIndexint
4Indexint
5Lenint
Declared in Dew::Math::TOpenCLBase · Dew.Math/clMtxVec.h · Cross-compiler

Overload 2: TOpenCLValue *LogN(double N, TOpenCLValue *X);

Log base N.

#NameTypeDescription
1Ndouble
2XTOpenCLValue *

Returns: returns Log with base N for value X.

Examples
#include "clMtxExpr.h"

using namespace Dew;
using namespace Dew::Math;

void Example()
{
    clValue a, b;

    b.Copy(2.3);
    a.LogN(4, b);  // a = LogN(4, 2.3)
}
See Also: TOpenCLValue::Power
Declared in Dew::Math::TOpenCLValue · Dew.Math/clMtxVec.h · Cross-compiler