clValue::InvCbrt Method

TOpenCLValue *InvCbrt(TOpenCLValue *X) const;

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

#NameTypeDescription
1XTOpenCLValue *
Remarks:

Calculate the inverse cube root (1/(element)^(1/3)) of the X.

Examples
#include "clMtxExpr.h"

using namespace Dew;
using namespace Dew::Math;

void Example()
{
    clValue a, b;

    b.Copy(2.3);
    a.InvCbrt(b);  // a = 2.3^(-1/3)
}
See Also: clValue::Cbrt
Declared in Dew::Math::clValue · Dew.Math/clMtxExpr.h · Cross-compiler