Language Reference

SQRT Function

SQRT (matrix) ;

This function is supported by the IML procedure and the iml action.

The SQRT function returns the positive square roots of each element of the argument matrix.

An example of a valid statement follows:

a = {1 2 3 4};
c = sqrt(a);
print c;

Figure 435: Square Roots

c
11.41421361.73205082


Last updated: April 11, 2025