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
23 lines (22 loc) • 366 B
JavaScript
export const sqrtDocs = {
name: 'sqrt',
category: 'Arithmetic',
syntax: [
'sqrt(x)'
],
description:
'Compute the square root value. If x = y * y, then y is the square root of x.',
examples: [
'sqrt(25)',
'5 * 5',
'sqrt(-1)'
],
seealso: [
'square',
'sqrtm',
'multiply',
'nthRoot',
'nthRoots',
'pow'
]
}