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 273 B
export var squareDocs = { name: 'square', category: 'Arithmetic', syntax: ['square(x)'], description: 'Compute the square of a value. The square of x is x * x.', examples: ['square(3)', 'sqrt(9)', '3^2', '3 * 3'], seealso: ['multiply', 'pow', 'sqrt', 'cube'] };