simple-squiggle

A restricted subset of Squiggle
Log | Files | Refs | README

sqrtm.js (343B)


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