TOpenCLValue Ln(TOpenCLValue X)
Natural logarithm.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | X | TOpenCLValue | source TOpenCLValue |
Returns: TOpenCLValue
Remarks:
Calculate the natural log of X.
Examples
using Dew.Math;
using Dew.Math.Units;
namespace Dew.Examples
{
void Example()
{
TOpenCLValue a,b;
clMtxVec.CreateIt(out a, out b);
try
{
b.Copy(8);
a.Ln(b);
}
finally
{
clMtxVec.FreeIt(ref a, ref b);
}
}
}
See Also: TOpenCLValue.Exp