feat:node-modules

This commit is contained in:
houjunxiang
2025-11-24 10:26:18 +08:00
parent 753766893b
commit 8a3e48d856
8825 changed files with 567399 additions and 1 deletions

View File

@@ -0,0 +1,8 @@
export var argDocs = {
name: 'arg',
category: 'Complex',
syntax: ['arg(x)'],
description: 'Compute the argument of a complex value. If x = a+bi, the argument is computed as atan2(b, a).',
examples: ['arg(2 + 2i)', 'atan2(3, 2)', 'arg(2 + 3i)'],
seealso: ['re', 'im', 'conj', 'abs']
};

View File

@@ -0,0 +1,8 @@
export var conjDocs = {
name: 'conj',
category: 'Complex',
syntax: ['conj(x)'],
description: 'Compute the complex conjugate of a complex value. If x = a+bi, the complex conjugate is a-bi.',
examples: ['conj(2 + 3i)', 'conj(2 - 3i)', 'conj(-5.2i)'],
seealso: ['re', 'im', 'abs', 'arg']
};

View File

@@ -0,0 +1,8 @@
export var 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']
};

View File

@@ -0,0 +1,8 @@
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']
};