UNPKG

mathjs

Version:

Math.js is an extensive math library for JavaScript and Node.js. It features a flexible expression parser and offers an integrated solution to work with numbers, big numbers, complex numbers, units, and matrices.

19 lines (18 loc) 300 B
module.exports = { 'name': 'cube', 'category': 'Arithmetic', 'syntax': [ 'cube(x)' ], 'description': 'Compute the cube of a value. The cube of x is x * x * x.', 'examples': [ 'cube(2)', '2^3', '2 * 2 * 2' ], 'seealso': [ 'multiply', 'square', 'pow' ] };