MathML 与 C# 桌面应用程序
你好 我已经下载了MathML.dll。我正在 C# 窗口应用程序中构建数学工具。我想要这样的功能:如果用户输入为:
sin theta / cos theta = tan theta
那么应该出现:
sin 0
----- = tan 0 (here 0 = theta)
cos 0
在 win 表单上。我想使用 MathML.dll。但没有找到任何这样的例子。请指导。我必须遵循什么步骤?
Hello
I have downloaded the MathML.dll. I am building the mathematical tool in c# window application. I want the functionality like if user inputs as:
sin theta / cos theta = tan theta
then that should appear:
sin 0
----- = tan 0 (here 0 = theta)
cos 0
on win form.I want to use MathML.dll. but not found any such example. please guide. what steps i have to follow?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我不熟悉 MathML 程序集。你从哪里得到它?
编辑
似乎要做你想做的事,你必须熟悉手动解析字符串。特别是,您可能想了解Shunting-Yard 算法的实现。我快速搜索了将数学字符串解析为 MathML 的任何现有实现,但没有任何运气
I'm not familiar with the MathML assembly. Where did you get it from?
Edit
It seems that to do what you want, you will have to become comfortable with manually parsing strings. In particular, you might want to take a look at implementing the Shunting-Yard Algorithm. I did a quick search for any existing implementations of parsing a math string into MathML, but di not have any luck