Language Reference

SQRT Function

calculates the square root


SQRT( matrix)

where matrix is a numeric matrix or literal.

The SQRT function is the scalar function returning the positive square roots of each element of the argument. An example of a valid statement follows.


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

Previous Page | Next Page | Top of Page