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 245 B
export var reDocs = { name: 're', category: 'Complex', syntax: ['re(x)'], description: 'Get the real part of a complex number.', examples: ['re(2 + 3i)', 'im(2 + 3i)', 're(-5.2i)', 're(2.4)'], seealso: ['im', 'conj', 'abs', 'arg'] };