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

Conjugate and multiply.

Pascal
function ConjMul(const Vec: TOpenCLMtxVec): TOpenCLMtxVec; overload;

Conjugate each of Vec elements and multiply them with corresponding elements in the calling object. The results are stored in the calling object. Size and TOpenCLBase.ComplexComplexproperties of the calling object are set implicitly to match Vec.

var a,b,c: TVec; begin CreateIt(a,b,c); try a.CopyCplxFromArray(TSingleArray.Create(1,2,3,4)); b.CopyCplxFromArray(TSingleArray.Create(4,3,2,1)); c.ConjMul(a,b); finally FreeIt(a,b,c); end; end;
Examples on GitHub
Copyright (c) 1999-2024 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!