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

The cube root.

Syntax
C#
Visual Basic
public TMtxVec Cbrt();

Calculate the cube root 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.SetIt(true, new double[] {1,8}); a.Cbrt(); // a = [1,2] } finally { MtxVec.FreeIt(ref a); } } }
Copyright (c) 1999-2024 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!