Math.js库的使用

Math.js库的使用

可以使用npm或Bower来安装Math.js,直接从Web网站下载,或者通过内容发布网络(CDN)来方法。它可以用于浏览器中,或者用于Node应用程序中。它提供了一组函数来执行操作,例如 add()和multiply()等,支持链化使用。
特征:

  1. Supports numbers, big numbers, complex numbers, fractions, units, strings, arrays, and matrices.
  2. Is compatible with JavaScript’s built-in Math library.
  3. Contains a flexible expression parser.
  4. Does symbolic computation.
  5. Comes with a large set of built-in functions and constants.
  6. Has no dependencies. Runs on any JavaScript engine.
  7. Can be used as a command line application as well.
  8. Is easily extensible.
  9. Open source.



  "description" content="math.js | basic usage">
  <span class="hljs-built_in">math</span>.js | basic usage
  


  

下载网站
+ website: http://mathjs.org
+ docs: http://mathjs.org/docs
+ examples: http://mathjs.org/examples

你可能感兴趣的:(javascript)