代数-胶乳:解析和计算胶乳格式化的数学

时间:2021-02-03 09:19:40
【文件属性】:
文件名称:代数-胶乳:解析和计算胶乳格式化的数学
文件大小:119KB
文件格式:ZIP
更新时间:2021-02-03 09:19:40
nodejs parser parse latex algebra 代数乳胶 一个NPM模块,没有依赖关系,用于解析乳胶数学到正规的数学串( ),可以被解析以像其他代数或数学库和 例 const AlgebraLatex = require ( 'algebra-latex' ) // Parse from LaTeX ... const latexInput = '\\frac{1}{\\sqrt{2}}\\cdot x=10' const algebraObj = new AlgebraLatex ( ) . parseLatex ( latexInput ) // ... or parse from regular math string const mathInput = '1/sqrt(2)*x=10' const algebraObj = new AlgebraLatex ( ) . parseMath ( mathInput ) console . log ( algebraObj . toMath ( ) ) // output: 1/sqrt(2)*x=10 console . log ( algebraObj . toLatex
【文件预览】:
algebra-latex-master
----.github()
--------workflows()
----src()
--------logger.js(467B)
--------lexers()
--------models()
--------Parser.js(10KB)
--------formatters()
--------index.js(3KB)
--------cli.js(1009B)
----.babelrc(25B)
----.vscode()
--------launch.json(605B)
----.npmignore(112B)
----.travis.yml(107B)
----LICENSE(1KB)
----test()
--------lexers()
--------parsers()
--------greek-letters.js(2KB)
--------formatters()
--------api.js(3KB)
----.prettierrc(85B)
----README.md(2KB)
----.gitignore(636B)
----index.js(41B)
----package-lock.json(440KB)
----package.json(944B)

网友评论