Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

lib-r-math.js

Package Overview
Dependencies
Maintainers
1
Versions
105
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

lib-r-math.js

Javascript Pure Implementation of Statistical R "core" numerical libRmath.so

  • 1.0.13
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
4K
decreased by-16.35%
Maintainers
1
Weekly downloads
 
Created
Source

libRmath.js

Javascript ( TypeScript ) Pure Implementation of Statistical R "core" numerical libRmath.so library found here https://svn.r-project.org/R/trunk/src/nmath/

Progress (DONE and TODO)

Work in progress (see list below of all c modules that need to be ported), please considering helping out and bring R core functionality to Javascript.

I first list the modules DONE so far, lets start at a positive note)

DONE

original c modulejs/ts module nameport dateR - base functions
gamma_cody.cgamme_cody.ts19 feb 2017GAMMA function using algo of W. J. Cody,
bessel_i.cbessel_i.ts19 feb 2017besseli
bessel_j.cbessel_j.ts19 feb 2017besselj
bessel_k.cbessel_k.ts19 feb 2017besselK
bessel_y.cbessel_y.ts19 feb 2017bessely
sexp.c./sexp.ts8-feb-2017(Random variates from the standard exponential distribution) exp_rand (internally used) function
dunif.c./dunif.ts8-feb-2017R "dunif" function
bessel_k.c./bessel_k.ts8-feb-2017R "besselK" function http://www.netlib.org/specfun/rkbesl
runif.c./runif.ts4-feb-2017implemented 3 RNG and native browser/node agnostic 64 RNG map to floating number
bd0.c./lib/bd0.ts23-jan-2017hidden, used by modules dbinom.c ,dpois.c dt.c
beta.c./lib/beta.ts23-jan-2017beta
chebyshev.c./lib/chebyshev.ts23-jan-2017chebyshev_init , chebyshev_eval
cospi.c./lib/cospi.ts23-jan-2017cospi, sinpi, tanpi
gamma.c./lib/gamma.ts23-jan-2017[gammafn] gamme function(https://en.wikipedia.org/wiki/Gamma_function)
lgamma.c./lib/lgamma.ts23-jan-2017logarithmic gamma lgammafn
lgammacor.c./lib/lgammecor.ts23-jan-2017lgammacor
stirlerr.c./lib/stirlerr23-jan-2017Computes the log of the error term in Stirling's formula ( stirlerr )

TODO

original c moduleported to javascript?testedR - base functions
bd0.cdone ./lib/bd0.tsnohidden, used by modules dbinom.c ,dpois.c dt.c
bessel_i.cdonenoR "besseli" Modified Bessel function of first kind.
bessel_j.cdonenoR "besselj" gives the Bessel function of the first kind.
bessel_k.cdonenoR "besselK" function http://www.netlib.org/specfun/rkbesl
bessel_y.cdonenoR "bessely" gives the Bessel function of the second kind .
beta.cdone ./lib/beta.tsnobeta
chebyshev.cdone ./lib/chebyshev.tsnochebyshev_init , chebyshev_eval
choose.cTODO
cospi.cdone ./lib/cospi.tsnocospi, sinpi, tanpi
d1mach.cTODO
dbeta.cTODO
dbinom.cTODO
dcauchy.cTODO
dchisq.cTODO
dexp.cTODO
df.cTODO
dgamma.cTODO
dgeom.cTODO
dhyper.cTODO
dlnorm.cTODO
dlogis.cTODO
dnbeta.cTODO
dnbinom.cTODO
dnchisq.cTODO
dnf.cTODO
dnorm.cTODO
dnt.cTODO
dpois.cTODO
dt.cTODO
dunif.cdonenoR "dunif" function
dweibull.cTODO
expm1.cTODO
fmax2.cTODO
fmin2.cTODO
fprec.cTODO
fround.cTODO
fsign.cTODO
ftrunc.cTODO
gamma.cdone ./lib/gamma.tsnogammafn
gamma_cody.cdonenoGAMMA function using algo of W. J. Cody,
gammalims.cTODO
i1mach.cTODO
imax2.cTODO
imin2.cTODO
lbeta.cTODO
lgamma.cdone ./lib/lgamma.tsnologarithmic gamma lgammafn
lgammacor.cdone ./lib/lgammecor.tsnolgammacor
log1p.cTODO
mlutils.cTODO
pbeta.cTODO
pbinom.cTODO
pcauchy.cTODO
pchisq.cTODO
pexp.cTODO
pf.cTODO
pgamma.cTODO
pgeom.cTODO
phyper.cTODO
plnorm.cTODO
plogis.cTODO
pnbeta.cTODO
pnbinom.cTODO
pnchisq.cTODO
pnf.cTODO
pnorm.cTODO
pnt.cTODO
polygamma.cTODO
ppois.cTODO
pt.cTODO
ptukey.cTODO
punif.cTODO
pweibull.cTODO
qbeta.cTODO
qbinom.cTODO
qcauchy.cTODO
qchisq.cTODO
qexp.cTODO
qf.cTODO
qgamma.cTODO
qgeom.cTODO
qhyper.cTODO
qlnorm.cTODO
qlogis.cTODO
qnbeta.cTODO
qnbinom.cTODO
qnchisq.cTODO
qnf.cTODO
qnorm.cTODO
qnt.cTODO
qpois.cTODO
qt.cTODO
qtukey.cTODO
qunif.cTODO
qweibull.cTODO
rbeta.cTODO
rbinom.cTODO
rcauchy.cTODO
rchisq.cTODO
rexp.cTODO
rf.cTODO
rgamma.cTODO
rgeom.cTODO
rhyper.cTODO
rlnorm.cTODO
rlogis.cTODO
rmultinom.cTODO
rnbinom.cTODO
rnchisq.cTODO
rnorm.cTODO
rpois.cTODO
rt.cTODO
runif.cdonenoimplemented 3 RNG and native browser/node agnostic 64 RNG map to floating number
rweibull.cTODO
sexp.cdoneno(Random variates from the standard exponential distribution) exp_rand (internally used) function
sign.cTODO
signrank.cTODO
snorm.cTODO
stirlerr.cdone ./lib/stirlerrnoComputes the log of the error term in Stirling's formula ( stirlerr )
toms708.cTODO
wilcox.cTODO

Keywords

FAQs

Package last updated on 19 Feb 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc