mirror of
https://github.com/josdejong/mathjs.git
synced 2026-01-25 15:07:57 +00:00
Clarify the documentation on scope when using rawArgs, see #1055
This commit is contained in:
parent
a23f9c385f
commit
3153de27ee
@ -114,7 +114,9 @@ Where :
|
||||
|
||||
- `args` is an Array with nodes of the parsed arguments.
|
||||
- `math` is the math namespace against which the expression was compiled.
|
||||
- `scope` is the scope provided when evaluating the expression.
|
||||
- `scope` is a shallow _copy_ of the `scope` object provided when evaluating
|
||||
the expression, optionally extended with nested variables like a function
|
||||
parameter `x` of in a custom defined function like `f(x) = x^2`.
|
||||
|
||||
Raw functions must be imported in the `math` namespace, as they need to be
|
||||
processed at compile time. They are not supported when passed via a scope
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user