You are here: Symbol Reference > clMtxExpr Namespace > Classes > clVector Record > public > Mag Method > clVector.Mag Method (TOpenCLMtxVec)
MtxVec VCL
ContentsIndex
PreviousUpNext
clVector.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 Complex properties of the calling vector are set implicitly to match Vec vector.

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