You are here: Symbol Reference > clMtxVec Namespace > Classes > TOpenCLMtxVec Class > public > TOpenCLMtxVec.PowerVec Method
MtxVec VCL
ContentsIndex
Example
var a,b,c: TVec; begin CreateIt(a,b,c); try a.CopyCplxFromArray(TSingleArray.Create(1,2,3,4)); b.CopyCplxFromArray(TSingleArray.Create(3,3,2,2)); c.PowerVec(a,b); // c = [1,8,9,16] finally FreeIt(a,b,c); end; end;
Copyright (c) 1999-2025 by Dew Research. All rights reserved.