mirror of
https://github.com/josdejong/mathjs.git
synced 2026-01-18 14:59:29 +00:00
19 lines
392 B
JavaScript
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'
|
|
]
|
|
};
|