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

21 lines (20 loc) 300 B
export const imDocs = { name: 'im', category: 'Complex', syntax: [ 'im(x)' ], description: 'Get the imaginary part of a complex number.', examples: [ 'im(2 + 3i)', 're(2 + 3i)', 'im(-5.2i)', 'im(2.4)' ], seealso: [ 're', 'conj', 'abs', 'arg' ] }