CAPL Script

Sqrt

This reference collection includes Vector documentation reproduced with permission. Snippets may require configuration-specific symbols and are not all standalone programs. Sources and validation limits.

Syntax

double sqrt(double x);

Function

Calculates the square root.

Parameters

Value whose square root is to be calculated.

Return Values

Square root of x.

double x;x = sqrt(4.0); // Result 2.0

cos | exp | sin