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

10 lines (9 loc) 274 B
"use strict"; module.exports = { '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'] };