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

Calculate the magnitude for all X elements.

Pascal
function Mag(const X: TMtxVec): TMtxVec; 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!