UNPKG

mathjs

Version:

Math.js is an extensive math library for JavaScript and Node.js. It features a flexible expression parser with support for symbolic computation, comes with a large set of built-in functions and constants, and offers an integrated solution to work with dif

14 lines (13 loc) 624 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.fractionDocs = void 0; const fractionDocs = exports.fractionDocs = { name: 'fraction', category: 'Construction', syntax: ['fraction(num)', 'fraction(matrix)', 'fraction(num,den)', 'fraction({n: num, d: den})'], description: 'Create a fraction from a number or from integer numerator and denominator.', examples: ['fraction(0.125)', 'fraction(1, 3) + fraction(2, 5)', 'fraction({n: 333, d: 53})', 'fraction([sqrt(9), sqrt(10), sqrt(11)])'], seealso: ['bignumber', 'boolean', 'complex', 'index', 'matrix', 'string', 'unit'] };