clValue::Expj Method

TOpenCLValue *Expj(TOpenCLValue *Omega) const;

A complex exponential e^(j*Omega)).

#NameTypeDescription
1OmegaTOpenCLValue *
Remarks:

Calculate the calling object complex exponential in-place. An exception is raised if calling object is complex. If object is complex, you should use the clValue::Exp method instead.

Examples
#include "clMtxExpr.h"

using namespace Dew;
using namespace Dew::Math;

void Example()
{
    clValue a, b;

    b.Copy(2);
    a.Expj(b);   // a = e^(2i)
}
See Also: clValue::Exp
Declared in Dew::Math::clValue · Dew.Math/clMtxExpr.h · Cross-compiler