ln:计算基于元素的自然对数(以e为底)

时间:2021-05-14 07:34:44
【文件属性】:
文件名称:ln:计算基于元素的自然对数(以e为底)
文件大小:24KB
文件格式:ZIP
更新时间:2021-05-14 07:34:44
JavaScript 自然对数 计算元素级。 定义为任何正实数为 在JavaScript中, log(0) = -Infinity 。 对于负数,没有定义。 安装 $ npm install compute-ln 要在浏览器中使用,请使用 。 用法 var ln = require ( 'compute-ln' ) ; ln(x [,opts]) 计算元素级。 x可以是number , array ,typed array或matrix 。 var matrix = require ( 'dstructs-matrix' ) , data , mat , out , i ; out = ln ( Math . pow ( Math . E , 3 ) ) ; // returns 3 out = ln ( - 9 ) ; // returns NaN data = [ 3 , 7 , 9 ]
【文件预览】:
ln-master
----.jshintrc(1KB)
----.gitattributes(12B)
----.jshintignore(118B)
----lib()
--------validate.js(2KB)
--------typedarray.js(795B)
--------deepset.js(950B)
--------accessor.js(889B)
--------matrix.js(620B)
--------index.js(3KB)
--------array.js(761B)
--------number.js(57B)
----.npmignore(498B)
----examples()
--------index.js(1KB)
----TODO.md(88B)
----.travis.yml(154B)
----LICENSE(1KB)
----test()
--------test.validate.js(3KB)
--------test.js(7KB)
--------test.typedarray.js(1KB)
--------test.accessor.js(2KB)
--------test.matrix.js(2KB)
--------test.number.js(935B)
--------test.array.js(1KB)
--------test.deepset.js(2KB)
----README.md(9KB)
----Makefile(2KB)
----docs()
--------img()
----.editorconfig(169B)
----.gitignore(1KB)
----package.json(2KB)

网友评论