You are here: Symbol Reference > Dew Namespace > Dew.Math Namespace > Classes > clMatrix Structure > clMatrix Methods > InvSqrt Method > clMatrix.InvSqrt Method ()
Dew Math for .NET
ContentsIndexHome
PreviousUpNext
clMatrix.InvSqrt Method ()

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

Syntax
C#
Visual Basic
public TOpenCLMtxVec InvSqrt();

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

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