Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在将此GCMathParser用于计算器应用程序。由于GCMathParser不支持阶乘、置换等,我必须手动查找这些运算符(例如!、nPr)并用结果替换它们。我怎样才能有效地实现这一点?
你为什么不试试DDMathParser呢?它支持内置阶乘,并具有用于添加新函数的简单 API。