mirror of
https://github.com/josdejong/mathjs.git
synced 2025-12-08 19:46:04 +00:00
20 lines
373 B
JavaScript
20 lines
373 B
JavaScript
module.exports = {
|
|
'name': 'complex',
|
|
'category': 'Type',
|
|
'syntax': [
|
|
'complex()',
|
|
'complex(re, im)',
|
|
'complex(string)'
|
|
],
|
|
'description':
|
|
'Create a complex number.',
|
|
'examples': [
|
|
'complex()',
|
|
'complex(2, 3)',
|
|
'complex("7 - 2i")'
|
|
],
|
|
'seealso': [
|
|
'bignumber', 'boolean', 'index', 'matrix', 'number', 'string', 'unit'
|
|
]
|
|
};
|