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

14 lines (13 loc) 433 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.distanceDocs = void 0; var distanceDocs = exports.distanceDocs = { name: 'distance', category: 'Geometry', syntax: ['distance([x1, y1], [x2, y2])', 'distance([[x1, y1], [x2, y2]])'], description: 'Calculates the Euclidean distance between two points.', examples: ['distance([0,0], [4,4])', 'distance([[0,0], [4,4]])'], seealso: [] };