TOpenCLValue *LogN(double N, TOpenCLValue *X) const;
Log base N.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | N | double | |
| 2 | X | TOpenCLValue * |
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