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

8 lines 316 B
export var powDocs = { name: 'pow', category: 'Operators', syntax: ['x ^ y', 'pow(x, y)'], description: 'Calculates the power of x to y, x^y.', examples: ['2^3', '2*2*2', '1 + e ^ (pi * i)', 'pow([[1, 2], [4, 3]], 2)', 'pow([[1, 2], [4, 3]], -1)'], seealso: ['multiply', 'nthRoot', 'nthRoots', 'sqrt'] };