You are here: Symbol Reference > clMtxVec Namespace > Classes > TOpenCLMtxVec Class > public > Expj Method > TOpenCLMtxVec.Expj Method ()
MtxVec VCL
ContentsIndex
PreviousUpNext
TOpenCLMtxVec.Expj Method ()

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

Pascal
function Expj: TOpenCLMtxVec; overload;

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 Exp method instead.

var a: TOpenCLVector; begin CreateIt(a); try a.CopyFromArray(TSingleArray.Create(1,2,3,4)); a.Expj; // a = [e^i, e^2i, e^3i, e^4i] finally FreeIt(a); end; end;
Examples on GitHub
Copyright (c) 1999-2025 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!