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

The inverse of square root 1/(v)^1/2.

Pascal
function InvSqrt: TMtxVec; overload;

Calculate the inverse square root 1/(element)^(1/2)) of all calling object elements in-place.

v.SetIt(false,[1,16]); v.InvSqrt; // returns [1,0.25]
Examples on GitHub
Copyright (c) 1999-2024 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!