TOpenCLValue.ArcSin Method

TOpenCLValue ArcSin(TOpenCLValue X)

The inverse sine.

#NameTypeDescription
1XTOpenCLValuesource TOpenCLValue

Returns: TOpenCLValue

Remarks:

Calculate the inverse sine of X. Value must be between -1 and 1. The return values will be in the range [0,Dew.Math.Units.Math387.PI], in radians.

Examples
using Dew.Math;
using Dew.Math.Units;

namespace Dew.Examples
{
    void Example()
    {
        TOpenCLValue a,b;
        clMtxVec.CreateIt(out a, out b);
        try
        {
            b.Copy(4);
            a.ArcSin(b);
        }
        finally
        {
            clMtxVec.FreeIt(ref a, ref b);
        }
    }
}
See Also: TOpenCLValue.Sin