Skip to content

Implicit Multiplication

davedelong edited this page Sep 27, 2011 · 4 revisions

The parser recognizes implicit multiplication. For example, we can write 3(4) and understand that the answer should be 12. Implicit multiplication is applied when a number, variable, or closing parenthesis are followed by either a number, variable, function, or opening parenthesis.

A full explanation of how the implicit multiplication is handled is in the source of DDMathStringTokenizer.m.

Clone this wiki locally