sqrt

View page source

The Square Root Function: sqrt

Syntax

y = sqrt ( x )

x, y

See the Possible Types for a unary standard math function.

Atomic

This is an atomic operation .

Derivative

\[\R{sqrt}^{(1)} (x) = \frac{1}{2 \R{sqrt} (x) }\]

Example

The file sqrt.cpp contains an example and test of this function.