You are here: Symbol Reference > Dew Namespace > Dew.Math Namespace > Classes > TOpenCLMtxVec Class > TOpenCLMtxVec Methods > InvCbrt Method > TOpenCLMtxVec.InvCbrt Method ()
Dew Math for .NET
ContentsIndexHome
PreviousUpNext
TOpenCLMtxVec.InvCbrt Method ()

The inverse of cube root 1/(v)^1/3.

Syntax
C#
Visual Basic
public TOpenCLMtxVec InvCbrt();

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

using Dew.Math; using Dew.Math.Units; namespace Dew.Examples() { void Example() { TVec a; MtxVec.CreateIt(out a); try { a.CopyFromArray( new double[] {-1, 8}); a.InvCbrt(); // returns [-1,0.5] } finally { MtxVec.FreeIt(ref a); } } }
Copyright (c) 1999-2024 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!