TOpenCLValue Expj(TOpenCLValue Omega)
A complex exponential e^(j*Omega)).
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Omega | TOpenCLValue | source TOpenCLValue |
Returns: TOpenCLValue
Remarks:
Calculate complex exponential. An exception is raised if calling object is complex. If object is complex, you should use the Dew.Math.TOpenCLValue.Exp method instead.
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(2);
a.Expj(b); // a = e^(2i)
}
finally
{
clMtxVec.FreeIt(ref a, ref b);
}
}
}
See Also: TOpenCLValue.Exp