clValue::LogN Method

TOpenCLValue *LogN(double N, TOpenCLValue *X) const;

Log base N.

#NameTypeDescription
1Ndouble
2XTOpenCLValue *

Returns: Computes Log with base N.

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: clValue::Power
Declared in Dew::Math::clValue · Dew.Math/clMtxExpr.h · Cross-compiler