ndarray:多维数组

时间:2021-06-03 09:31:12
【文件属性】:
文件名称:ndarray:多维数组
文件大小:46KB
文件格式:ZIP
更新时间:2021-06-03 09:31:12
JavaScript 数组 多维数组。 目录 形状 抵消 大步 长度 字节数 数据 得到 放 构造函数 ndarray.raw 观看次数 构造函数 工厂 ndarray.factory ndarray.rawFactory 例子 安装 $ npm install compute-ndarray 要在浏览器中使用,请使用browserify 。 用法 var ndarray = require ( 'compute-ndarray' ) ; ndarray(数据[,选项]) 创建一个新的多维array 。 var data = new Float32Array ( 10 ) ; var view = ndarray ( data ) ; ndarray构造函数接受以下options : dtype :指定底层存储数据类型。 如果输入data的类型不同,则将data dtype转换为指
【文件预览】:
ndarray-master
----.jshintrc(1KB)
----.gitignore(711B)
----package.json(2KB)
----Makefile(2KB)
----.travis.yml(156B)
----LICENSE(1KB)
----examples()
--------index.js(246B)
----.jshintignore(118B)
----README.md(13KB)
----lib()
--------hasInterface.js(595B)
--------dtypes.js(253B)
--------btypes.js(442B)
--------set.js(1KB)
--------proto.get.js(1020B)
--------index.js(237B)
--------getType.js(662B)
--------get.js(1KB)
--------ndarray.raw.js(2KB)
--------nbytes.js(756B)
--------ndarray.js(2KB)
--------proto.set.js(1KB)
--------itypes.js(495B)
--------getCtor.js(800B)
--------validate.js(4KB)
--------ctor.raw.js(2KB)
--------ctor.js(3KB)
--------cache.js(409B)
--------factory.js(3KB)
--------factory.raw.js(2KB)
----benchmark()
--------b.creation_strict_class.js(974B)
--------b.creation_raw.js(1011B)
--------b.creation_raw_factory.js(1KB)
--------b.prop_getter.js(1021B)
--------b.creation_using_factory.js(1KB)
--------b.proto_getter.js(1KB)
--------b.proto_setter.js(1KB)
--------b.prop_setter.js(1KB)
----TODO.md(3KB)
----.npmignore(498B)
----.gitattributes(12B)
----test()
--------test.itypes.js(423B)
--------test.set.js(1KB)
--------test.getCtor.js(1KB)
--------test.dtypes.js(415B)
--------test.cache.js(657B)
--------test.js(798B)
--------test.proto.get.js(1KB)
--------test.nbytes.js(2KB)
--------test.factory.js(4KB)
--------test.factory.raw.js(2KB)
--------test.get.js(1KB)
--------test.ctor.js(2KB)
--------test.ndarray.js(1KB)
--------test.hasInterface.js(1KB)
--------test.getType.js(2KB)
--------fixtures()
--------test.proto.set.js(1KB)
--------test.validate.js(5KB)
--------test.ctor.raw.js(2KB)
--------test.btypes.js(417B)
----.editorconfig(169B)

网友评论