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) • 335 B
JavaScript
;
module.exports = {
'name': 'clone',
'category': 'Utils',
'syntax': ['clone(x)'],
'description': 'Clone a variable. Creates a copy of primitive variables,and a deep copy of matrices',
'examples': ['clone(3.5)', 'clone(2 - 4i)', 'clone(45 deg)', 'clone([1, 2; 3, 4])', 'clone("hello world")'],
'seealso': []
};