numeric.js
http://numericjs.com/documentation.html
方法 | 描述 |
---|---|
abs | Absolute value |
acos | Arc-cosine |
add | Pointwise sum x+y |
addeq | Pointwise sum x+=y |
all | All the components of x are true |
and | Pointwise x && y |
andeq | Pointwise x &= y |
any | One or more of the components of x are true |
asin | Arc-sine |
atan | Arc-tangeant |
atan2 | Arc-tangeant (two parameters) |
band | Pointwise x & y |
bench | Benchmarking routine |
bnot | Binary negation ~x |
bor | Binary or x |
bxor | Binary xor x^y |
ccsDim | Dimensions of sparse matrix |
ccsDot | Sparse matrix-matrix product |
ccsFull | Convert sparse to full |
ccsGather | Gather entries of sparse matrix |
ccsGetBlock | Get rows/columns of sparse matrix |
ccsLUP | Compute LUP decomposition of sparse matrix |
ccsLUPSolve | Solve Ax=b using LUP decomp |
ccsScatter | Scatter entries of sparse matrix |
ccsSparse | Convert from full to sparse |
ccsTSolve | Solve upper/lower triangular system |
ccs | Supported ops include: add/div/mul/geq/etc… |
cLU | Coordinate matrix LU decomposition |
cLUsolve | Coordinate matrix LU solve |
cdelsq | Coordinate matrix Laplacian |
cdotMV | Coordinate matrix-vector product |
ceil | Pointwise Math.ceil(x) |
cgrid | Coordinate grid for cdelsq |
clone | Deep copy of Array |
cos | Pointwise Math.cos(x) |
det | Determinant |
diag | Create diagonal matrix |
dim | Get Array dimensions |
div | Pointwise x/y |
diveq | Pointwise x/=y |
dopri | Numerical integration of ODE using Dormand-Prince RK method. Returns an object Dopri. |
Dopri.at | Evaluate the ODE solution at a point |
方法 | 描述 |
---|---|
dot | 点乘,矩阵与向量相乘不需要先把向量转置 |
eig | 特征值m.lambda.x和特征向量m.E.x |
epsilon | 2.220446049250313e-16 |
eq | Pointwise comparison x === y |
exp | Pointwise Math.exp(x) |
floor | Poinwise Math.floor(x) |
geq | Pointwise x>=y |
getBlock | Extract a block from a matrix |
getDiag | Get the diagonal of a matrix |
gt | Pointwise x>y |
identity | Identity matrix |
imageURL | Encode a matrix as an image URL |
inv | Matrix inverse |
isFinite | Pointwise isFinite(x) |
isNaN | Pointwise isNaN(x) |
largeArray | Don’t prettyPrint Arrays larger than this |
leq | Pointwise x<=y |
linspace | Generate evenly spaced values |
log | Pointwise Math.log(x) |
lshift | Pointwise x< |
lshifteq | Pointwise x<<=y |
lt | Pointwise x |
LU | Dense LU decomposition |
LUsolve | Dense LU solve |
mapreduce | Make a pointwise map-reduce function |
mod | Pointwise x%y |
modeq | Pointwise x%=y |
mul | Pointwise x*y |
neg | Pointwise -x |
neq | Pointwise x!==y |
norm2 | Square root of the sum of the square of the entries of x |
norm2Squared | Sum of squares of entries of x |
norminf | Largest modulus entry of x |
not | Pointwise logical negation !x |
or | Pointwise logical or x |
oreq | Pointwise x |
parseCSV | Parse a CSV file into an Array |
parseDate | Pointwise parseDate(x) |
parseFloat | Pointwise parseFloat(x) |
pointwise | Create a pointwise function |
pow | Pointwise Math.pow(x) |
precision | Number of digits to prettyPrint |
prettyPrint | Pretty-prints x |
random | Create an Array of random numbers |
rep | Create an Array by duplicating values |
方法 | 描述 |
---|---|
round | Pointwise Math.round(x) |
rrshift | Pointwise x>>>y |
rrshifteq | Pointwise x>>>=y |
rshift | Pointwise x>>y |
rshifteq | Pointwise x>>=y |
same | x and y are entrywise identical |
seedrandom | The seedrandom module |
setBlock | Set a block of a matrix |
sin | Pointwise Math.sin(x) |
solve | Solve Ax=b |
solveLP | Solve a linear programming problem |
solveQP | Solve a quadratic programming problem |
spline | Create a Spline object |
Spline.at | Evaluate the Spline at a point |
Spline.diff | Differentiate the Spline |
Spline.roots | Find all the roots of the Spline |
sqrt | Pointwise Math.sqrt(x) |
sub | Pointwise x-y |
subeq | Pointwise x-=y |
sum | Sum all the entries of x |
svd | Singular value decomposition |
t | Create a tensor type T (may be complex-valued) |
T. | Supported are: abs, add, cos, diag, div, dot, exp, getBlock, getDiag, inv, log, mul, neg, norm2, setBlock, sin, sub, transpose |
T.conj | Pointwise complex conjugate |
T.fft | Fast Fourier transform |
T.get | Read an entry |
T.getRow | Get a row |
T.getRows | Get a range of rows |
T.ifft | Inverse FFT |
T.reciprocal | Pointwise 1/z |
T.set | Set an entry |
T.setRow | Set a row |
T.setRows | Set a range of rows |
T.transjugate | The conjugate-transpose of a matrix |
tan | Pointwise Math.tan(x) |
tensor | Tensor product ret[i][j] = x[i]*y[j] |
toCSV | Make a CSV file |
transpose | Matrix transpose |
uncmin | Unconstrained optimization |
version | Version string for the numeric library |
xor | Pointwise x^y |
xoreq | Pointwise x^=y |
numeric.js相关推荐
- html5播放器 易语言,html5播放器playease.js最新版
[实例简介] playease.js: 一款html5播放器,支持flv.mp4.rtmp.dash.hls,以及html5原生支持的格式webm.mpeg-4系列.ogg等,兼容IE8+.该播放器可 ...
- Ext js 6 - Class System
Class System Overview 我们可以搭建测试代码, 不需要使用Sencha cmd <!DOCTYPE html> <html lang="en" ...
- 纯前端JS实现人脸识别眨眨眼张张嘴案例
在不久之前我发布了一个案例,是java通过百度云人脸识别接口实现活体检测(张张嘴和眨眨眼)的案例,大家可以去看看:人脸识别活体检测之眨眨眼和张张嘴,今天我就抽空更新一下纯JS的活体检测吧. 首先给大家 ...
- 【JS】详解JS精度丢失原理以及业务中价格计算引入数学库 Math.js的使用场景
一.JS为什么会出现精度丢失问题 1.JS基本数据类型 Number 在内存中是怎么存储的? JS中的Number类型使用的是双精度浮点型,也就是其他语言中的double类型.在计算机内存中,单精度数 ...
- 基于HTML5 的人脸识别活体认证
近几年,人脸识别技术在身份认证领域的应用已经有了较多应用,例如:支付宝.招行的取款.养老金领取等方面,但在杜绝假冒.认证安全性等方面,目前还是一个比较需要进一步解决的课题,特别是在移动端的活体认证技术 ...
- 前端如何处理十万级别的大量数据
给 「前端开发博客」 加星标,每天打卡学习 长按二维码即可识别"进入网页"查看哟~ 1.前端如何处理十万级别的大量数据 写博客主要是用来总结.巩固知识点,加深自己对这个知识点的理解 ...
- 人脸捕捉与WEB端的活体检测
如今现在的活体检测都是与硬件相辅相成的. 活体检测就是通过人脸捕捉进行识别拍照的或者把脸型进行结合出来的活体检测,将一些活体的体征点进行识别. 活体检测是指用户按照系统指示做出相应的动作,防止用户在一 ...
- HTML5 Canvas炫酷宇宙黑洞引力特效
black-hole.js是一款效果非常炫酷的模拟宇宙黑洞引力特效的 js插件.该插件基于 HTML5 canvas,使用WebGL. glfx.js和 numeric.js 共同制作完成.其效果是在 ...
- Node.js(nodejs)对本地JSON文件进行增、删、改、查操作(轻车熟路)
项目结构 index.js //必须要安装否则就别想运行了❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤ //npm ...
最新文章
- vue.js 每次循环五个数据_AutoML数据增广
- 全1的向量与行向量或列向量相乘,实质上是作行复制或列复制!
- 【控制】《多智能体系统的协同群集运动控制》陈杰老师-第1章-绪论
- Redis数据类型操作(五) —— Sorted Set
- python模拟鼠标拖动_python模拟鼠标拖动操作
- windows下直接输入nvidia-smi显示不是内部或外部命令也不是可运行的程序
- WebLogic中修改AdminServer及Managed Server的端口
- 12面魔方公式图解法_三阶魔方入门
- MySQL小黑框怎么打开_打开你的小黑框命令行,来跟我一起嗨嗨嗨
- 24.go clean
- 基于ADS软件的阻抗匹配
- Opencv—利用findContours函数找圆环,并标出(简单层级)
- Python兼职:300-800元/天,各行各业都能运用!
- 解决问题win10无线网卡:无法连接到此网络
- python画图网格线设置_python – Matplotlib:更改单个网格线的颜色
- TP6框架全新开发社区系统源码开源
- CSMA/CD与CSMA/CA区别
- 高级语言.汇编语言和机器语言
- 未能加载包studio package_SLAM组合拳之七 — 创建自定义Gazebo功能包(二)
- c语言水仙花两种方法,c语言:3种方法;求出0~999之间的所有“水仙花数”并输出。...
热门文章
- Python+matplotlib绘制函数曲线查找函数极值
- 微课|玩转Python轻松过二级(1.3节):编码规范与代码优化建议2
- Python中的依赖注入实现原理
- matlab 分数 函数,Matlab 中 residuez函数的使用
- 35岁学python爬虫_35岁码农的机器学习入门之路-python篇
- jupyter notebook保存的文件在哪_通过配置文件修改jupyter notebook初始文件夹
- oracle11g重建undo,Oracle11gORA-03113故障,重建控制文件
- C++头文件<functional>和bind、placeholders占位符使用简单例子
- 怎么读服务器文件内容,服务器上读取文件内容
- java ssh完整配置文件_ssh框架整合笔记---配置文件