Wilang Documentation1.0.0+4

sqrtm#

Calculate the principal square root of a square matrix. The principal square root matrix X of another matrix A is such that X * X = A.

Available in: math cells, REPL.

Syntax#

sqrtm(x)

Arguments and behavior#

Arguments must match one of the syntax forms above. Use the example as a starting point; arrays and numeric types are accepted only by compatible overloads. The example returns matrix.

Example#

Edit the inputs, then use Run or Reset. Changes stay in this example.

Example
sqrtm([[33, 24], [48, 57]])

Expected result: matrix.

See also#

sqrt · abs · square · multiply

All functions · Math guides