Looping over custom simplification rules #2600
-
HI Jos! I was trying to add some custom simplify rules as objects, with the As you know, I'm not a programmer, so if there is a simple work-around to this, sorry for bringing it up, unnecessarily! Thanks in advance for your help! Jacob |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Thanks for bringing this up. So the TypeScript definition For the time being you can probably use a Documentation: https://github.com/josdejong/mathjs/blob/develop/src/function/algebra/simplify.js#L116-L158 Anyone able to improve the TypeScript definitions? |
Beta Was this translation helpful? Give feedback.
Thanks for bringing this up. So the TypeScript definition
SimplifyRule
is missing the parameterss
,repeat
,assuming
, andimposeContext
. Also, the type definitions of the options argument ofsimplify
is missingconsoleDebug
andcontext
.For the time being you can probably use a
// @ts-ignore
to work around it.Documentation: https://github.com/josdejong/mathjs/blob/develop/src/function/algebra/simplify.js#L116-L158
Anyone able to improve the TypeScript definitions?