clValue.Sqrt Method

TOpenCLValue Sqrt(TOpenCLValue X)

Square root.

#NameTypeDescription
1XTOpenCLValuesource TOpenCLValue

Returns: TOpenCLValue

Remarks:

Calculate the square root of X.

Examples
clValue a;
clValue b;
b.Copy(4);
a.Sqrt(b); // a=new double[] {2}
See Also: clValue.Sqr