2018-05-02 09:51:08 +02:00

19 lines
392 B
JavaScript

module.exports = {
'name': 'sqrtm',
'category': 'Arithmetic',
'syntax': [
'sqrtm(x)'
],
'description':
'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`.',
'examples': [
'sqrtm([[1, 2], [3, 4]])'
],
'seealso': [
'sqrt',
'abs',
'square',
'multiply'
]
};