You are here: Symbol Reference > Dew Namespace > Dew.Math Namespace > Classes > TOpenCLValue Class > TOpenCLValue Methods > TOpenCLValue.Expj Method
Dew Math for .NET
ContentsIndexHome
PreviousUpNext
TOpenCLValue.Expj Method

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

Syntax
C#
Visual Basic
public TOpenCLValue Expj(TOpenCLValue Omega);

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

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); } } }
Copyright (c) 1999-2024 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!