clValue::Ln Method

TOpenCLValue *Ln(TOpenCLValue *X) const;

Natural logarithm.

#NameTypeDescription
1XTOpenCLValue *
Remarks:

Calculate the natural log of X.

Examples
#include "clMtxExpr.h"

using namespace Dew;
using namespace Dew::Math;

void Example()
{
    clValue a, b;

    b.Copy(8);
    a.Ln(b);
}
See Also: clValue::Exp
Declared in Dew::Math::clValue · Dew.Math/clMtxExpr.h · Cross-compiler