You are here: Symbol Reference > clMtxVec Namespace > Classes > TOpenCLMtxVec Class > public > InvCbrt Method > TOpenCLMtxVec.InvCbrt Method ()
MtxVec VCL
ContentsIndex
PreviousUpNext
TOpenCLMtxVec.InvCbrt Method ()

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

Pascal
function InvCbrt: TOpenCLMtxVec; overload;

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

v.CopyFromArray(TSingleArray.Create(1,8)); v.InvCbrt; // returns [1,0.5]
Examples on GitHub
Copyright (c) 1999-2025 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!