simple-squiggle

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

nthRoots.js (432B)


      1 export var nthRootsDocs = {
      2   name: 'nthRoots',
      3   category: 'Arithmetic',
      4   syntax: ['nthRoots(A)', 'nthRoots(A, root)'],
      5   description: '' + 'Calculate the nth roots of a value. ' + 'An nth root of a positive real number A, ' + 'is a positive real solution of the equation "x^root = A". ' + 'This function returns an array of complex values.',
      6   examples: ['nthRoots(1)', 'nthRoots(1, 3)'],
      7   seealso: ['sqrt', 'pow', 'nthRoot']
      8 };