sqrtm.js (475B)
1 "use strict"; 2 3 Object.defineProperty(exports, "__esModule", { 4 value: true 5 }); 6 exports.sqrtmDocs = void 0; 7 var sqrtmDocs = { 8 name: 'sqrtm', 9 category: 'Arithmetic', 10 syntax: ['sqrtm(x)'], 11 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`.', 12 examples: ['sqrtm([[1, 2], [3, 4]])'], 13 seealso: ['sqrt', 'abs', 'square', 'multiply'] 14 }; 15 exports.sqrtmDocs = sqrtmDocs;