3.0.0 • Published 10 months ago

@jeff-tian/math v3.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
10 months ago

@jeff-tian/math


一个 js 数学包。

功能

  • 计算导数(微分)
    • $$\frac{dc}{dx} =0 当c是一个常量,或者一个与x不同的变量$$
    • $$\frac{dx}{dx}=1$$
    • $$\frac{d(u+v)}{dx}=\frac{du}{dx}+\frac{dv}{dx}$$
    • $$\frac{d(uv)}{dx}=u(\frac{dv}{dx})+v(\frac{du}{dx})$$
    • $$\frac{d(u^n)}{dx}=nu^{n-1}(\frac{du}{dx})$$

使用方法

var math = require("@jeff-tian/math")

console.log(Math.deriv(['x'], 'x'))
console.log(Math.deriv(['3', '*', 'x', '**', '2'], 'x'))

在线尝试: https://npm.runkit.com/%40jeff-tian%2Fmath

npm.io

谁在使用

开发过程(局部)

https://www.zhihu.com/zvideo/1515080556539256832

3.0.0

10 months ago

2.0.5

1 year ago

2.0.4

2 years ago

2.0.3

2 years ago

2.0.2

2 years ago