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

Calculate the magnitude for all X elements.

Pascal
function Mag(const X: TOpenCLMtxVec): TOpenCLMtxVec; overload;

Store the results in the calling object elements. Size and TOpenCLBase.ComplexComplexproperties of the calling vector are set implicitly to match Vec vector.

Copyright (c) 1999-2024 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!