Reference/sqrt

From Kx Wiki
Jump to: navigation, search

sqrt (square root function)

The function sqrt computes the square root of its argument, returning a float. The result is null if the argument is negative or null.

Example

q)sqrt -1 0 25 50
0n 0 5 7.071068

For a complete list of functions, see the kdb+ Function Reference.

Personal tools
Namespaces
Variants
Actions
Navigation
Print/export
Toolbox