simple-squiggle/node_modules/mathjs/lib/esm/expression/embeddedDocs/function/arithmetic/cube.js

8 lines
252 B
JavaScript
Raw Normal View History

export var cubeDocs = {
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']
};