clValue::ArcCos Method

TOpenCLValue *ArcCos(TOpenCLValue *X) const;

The inverse cosine.

#NameTypeDescription
1XTOpenCLValue *
Remarks:

Calculate the inverse cosine of X. Values must be between -1 and 1. The return values will be in the range [0,Math387::PI], in radians.

Examples
#include "clMtxExpr.h"

using namespace Dew;
using namespace Dew::Math;

void Example()
{
    clValue a, b;

    b.Copy(4);
    a.ArcCos(b);
}
See Also: clValue::Cos
Declared in Dew::Math::clValue · Dew.Math/clMtxExpr.h · Cross-compiler