MTM
sqrt
compute square root
realsqrt
compute real square root
Calling Sequence
Parameters
Description
Examples
Compatibility
sqrt(M)
sqrt(x)
realsqrt(M)
realsqrt(x)
M
-
array
x
expression
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.
with⁡MTM:
M≔Matrix⁡2,3,fill=−3.6:
sqrt⁡M
1.897366596⁢I1.897366596⁢I1.897366596⁢I1.897366596⁢I1.897366596⁢I1.897366596⁢I
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
Download Help Document