sqrt - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim


MTM

  

sqrt

  

compute square root

  

realsqrt

  

compute real square root

 

Calling Sequence

Parameters

Description

Examples

Compatibility

Calling Sequence

sqrt(M)

sqrt(x)

realsqrt(M)

realsqrt(x)

Parameters

M

-

array

x

-

expression

Description

• 

The sqrt(x) function computes the square root of x.

• 

The sqrt(M) function computes the element-wise square root of M.  The result, R, is formed as R[i,j] = sqrt(M[i,j]).

• 

The realsqrt(x) function is similar to sqrt(x) but requires that any numbers in the input be real and nonnegative.

Examples

withMTM:

MMatrix2,3,fill=3.6:

sqrtM

1.897366596I1.897366596I1.897366596I1.897366596I1.897366596I1.897366596I

(1)

Compatibility

• 

The MTM[sqrt] and MTM[realsqrt] commands were updated in Maple 2021.

• 

The 'realsqrt' option was introduced in Maple 2021.

• 

For more information on Maple 2021 changes, see Updates in Maple 2021.

See Also

MTM

sqrt