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