simple-squiggle

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

nthRoot.js (541B)


      1 "use strict";
      2 
      3 Object.defineProperty(exports, "__esModule", {
      4   value: true
      5 });
      6 exports.nthRootDocs = void 0;
      7 var nthRootDocs = {
      8   name: 'nthRoot',
      9   category: 'Arithmetic',
     10   syntax: ['nthRoot(a)', 'nthRoot(a, root)'],
     11   description: 'Calculate the nth root of a value. ' + 'The principal nth root of a positive real number A, ' + 'is the positive real solution of the equation "x^root = A".',
     12   examples: ['4 ^ 3', 'nthRoot(64, 3)', 'nthRoot(9, 2)', 'sqrt(9)'],
     13   seealso: ['nthRoots', 'pow', 'sqrt']
     14 };
     15 exports.nthRootDocs = nthRootDocs;