Giter Site home page Giter Site logo

nlapack's Introduction

nLAPACK version travis maintainability Test Coverage

Greenkeeper badge

Node >=6.9 C++ bindings for all single- and double-precision LAPACK (Linear Algebra Package) routines.

Requirements

Linux

$ sudo apt-get install libblas-dev liblapack-dev liblapacke-dev

MacOS

$ brew install lapack

Usage

$ npm install nlapack
  • ?getrf(m, n, a, lda, ipiv)
  • ?getrf2(m, n, a, lda, ipiv)
  • ?gbtrf(m, n, kl, ku, ab, ldab, ipiv)
  • ?gttrf(n, dl, d, du, du2, ipiv)
  • ?dttrfb(n, dl, d, du)
  • ?potrf(uplo, n, a, lda)
  • ?potrf2(uplo, n, a, lda)
  • ?pstrf(uplo, n, a, lda, piv, rank, tol)
  • ?pftrf(transr, uplo, n, a)
  • ?pptrf(uplo, n, ap)
  • ?pbtrf(uplo, n, kd, ab, ldab)
  • ?pttrf(n, d, e)
  • ?sytrf(uplo, n, a, lda, ipiv)
  • ?sytrf_aa(uplo, n, a, lda, ipiv)
  • ?sytrf_rook(uplo, n, a, lda, ipiv)
  • ?hetrf(uplo, n, a, lda, ipiv)
  • ?hetrf_aa(uplo, n, a, lda, ipiv)
  • ?hetrf_rook(uplo, n, a, lda, ipiv)
  • ?sptrf(uplo, n, ap, ipiv)
  • ?hptrf(uplo, n, ap, ipiv)
  • ?getrs(trans, n, nrhs, a, lda, ipiv, b, ldb)
  • ?gbtrs(trans, n, kl, ku, nrhs, ab, ldab, ipiv, b, ldb)
  • ?gttrs(trans, n, nrhs, dl, d, du du2, ipiv, b, ldb)
  • ?dttrsb(trans, n, nrhs, dl, d, du, b, ldb)
  • ?potrs(uplo, n, nrhs, a, lda, b, ldb)
  • ?pftrs(transr, uplo, n, nrhs, a, b, ldb)
  • ?pptrs(uplo, n, nrhs, ap, b, ldb)
  • ?pbtrs(uplo, n, kd, nrhs, ab, ldab, b, ldb)
  • ?pttrs(n, nrhs, d, e, b, ldb)
  • ?sytrs(uplo, n, nrhs, a, lda, ipiv, b, ldb)
  • ?sytrs_aa(uplo, n, nrhs, a, lda, ipiv, b, ldb)
  • ?sytrs_rook(uplo, n, nrhs, a, lda, ipiv, b, ldb)
  • ?hetrs()
  • ?hetrs_aa()
  • ?hetrs_rook()
  • ?sytrs2(uplo, n, nrhs, a, lda, ipiv, b, ldb)
  • ?hetrs2()
  • ?sptrs(uplo, n, nrhs, ap, ipiv, b, ldb)
  • ?hptrs()
  • ?trtrs(uplo, trans, diag, n, nrhs, a, lda, b, ldb)
  • ?tptrs(uplo, trans, diag, n, nrhs, ap, b, ldb)
  • ?tbtrs(uplo, trans, diag, n, kd, nrhs, ab, ldab, b, ldb)
  • ?gecon(norm, n, a, lda, anorm, rcond)
  • ?gbcon(norm, n, kl, ku, ab, ldab, ipiv, anorm, rcond)
  • ?gtcon(norm, n, dl, d, du, du2, ipiv, anorm, rcond)
  • ?pocon(uplo, n, a, lda, anorm, rcond)
  • ?ppcon(uplo, n, ap, anorm, rcond)
  • ?pbcon(uplo, n, kd, ab, ldab, anorm, rcond)
  • ?ptcon(uplo, d, e, anorm, rcond)
  • ?sycon(uplo, n, a, lda, ipiv, anorm, rcond)
  • ?sycon_rook(uplo, n, a, lda, ipiv, anorm, rcond)
  • ?hecon(uplo, n, a, lda, ipiv, anorm, rcond)
  • ?hecon_rook(uplo, n, a, lda, ipiv, anorm, rcond)
  • ?spcon(uplo, n, ap, ipiv, anorm, rcond)
  • ?trcon(norm, uplo, diag, n, a, lda, rcond)
  • ?tpcon(norm, uplo, diag, n, ap, rcond)
  • ?tbcon(norm, uplo, diag, n, kd, ab, ldab, rcond)
  • ?gerfs(trans, n, nrhs, a, lda, af, ldaf, ipiv, b, ldb, x, ldx, ferr, berr)
  • ?gerfsx(trans, equed, n, nrhs, a, lda, af, ldaf, ipiv, r, c, b, ldb, x, ldx, rcond, berr, n_err_bnds, err_bnds_norm, err_bnds_comp, nparams, params)
  • ?gbrfs(trans, n, kl, ku, nrhs, ab, ldab, afb, ldafb, ipiv, b, ldb, x, ldx, ferr, berr)
  • ?gbrfsx(trans, equed, n, kl, ku, nrhs, ab, ldab, afb, ldafb, ipiv, r, c, b, ldb, x, ldx, rcond, berr, n_err_bnds, err_bnds_norm, err_bnds_comp, nparams, params)
  • ?gtrfs(trans, n, nrhs, dl, d, du, dlf, df, duf, du2, ipiv, b, ldb, x, ldx, ferr, berr)
  • ?porfs(uplo, n, nrhs, a, lda, af, ldaf, b, ldb, x, ldx, ferr, berr)
  • ?porfsx(uplo, equed, n, nrhs, a, lda, af, ldaf, s, b, ldb, x, ldx, rcond, berr, n_err_bnds, err_bnds_norm, err_bnds_comp, nparams, params)
  • ?pprfs(uplo, n, nrhs, ap, afp, b, ldb, x, ldx, ferr, berr)
  • ?pbrfs(uplo, n, kd, nrhs, ab, ldab, afb, ldafb, b, ldb, x, ldx, ferr, berr)
  • ?ptrfs(n, nrhs, d, e, df, ef, b, ldb, x, ldx, ferr, berr)
  • ?syrfs(uplo, n, nrhs, a, lda, af, ldaf, ipiv, b, ldb, x, ldx, ferr, berr)
  • ?syrfsx(uplo, equed, n, nrhs, a, lda, af, ldaf, ipiv, s, b, ldb, x, ldx, rcond, berr, n_err_bnds, err_bnds_norm, err_bnds_comp, nparams, params)
  • ?herfs(uplo, n, nrhs, a, lda, af, ldaf, ipiv, b, ldb, x, ldx, ferr, berr)
  • ?herfsx(uplo, equed, n, nrhs, a, lda, af, ldaf, ipiv, s, b, ldb, x, ldx, rcond, berr, n_err_bnds, err_bnds_norm, err_bnds_comp, nparams, params)
  • ?sprfs(uplo, n, nrhs, ap, afp, ipiv, b, ldb, x, ldx, ferr, berr)
  • ?hprfs(uplo, n, nrhs, ap, afp, ipiv, b, ldb, x, ldx, ferr, berr)
  • ?trrfs(uplo, trans, diag, n, nrhs, a, lda, b, ldb, x, ldx, ferr, berr)
  • ?tprfs(uplo, trans, diag, n, nrhs, ap, b, ldb, x, ldx, ferr, berr)
  • ?tbrfs(uplo, trans, diag, n, kd, nrhs, ab, ldab, b, ldb, x, ldx, ferr, berr)
  • ?getri(n, a, lda, ipiv)
  • ?potri(uplo, n, a, lda)
  • ?pftri(transr, uplo, n, a)
  • ?pptri(uplo, n, ap)
  • ?sytri(uplo, n, a, lda, ipiv)
  • ?sytri_rook(uplo, n, a, lda, ipiv)
  • ?hetri(uplo, n, a, lda, ipiv)
  • ?hetri_rook(uplo, n, a, lda, ipiv)
  • ?sytri2(uplo, n, a, lda, ipiv)
  • ?hetri2(uplo, n, a, lda, ipiv)
  • ?sytri2x(uplo, n, a, lda, ipiv, nb)
  • ?hetri2x(uplo, n, a, lda, ipiv, nb)
  • ?sptri(uplo, n, ap, ipiv)
  • ?hptri(uplo, n, ap, ipiv)
  • ?trtri(uplo, diag, n, a, lda)
  • ?tftri(transr, uplo, diag, n, a)
  • ?tptri(uplo, diag, n, ap)
  • ?geequ(m, n, a, lda, r, c, rowcnd, colcnd, amax)
  • ?geequb(m, n, a, lda, r, c, rowcnd, colcnd, amax)
  • ?gbequ(m, n, kl, ku, ab, ldab, r, c, rowcnd, colcnd, amax)
  • ?gbequb(m, n, kl, ku, ab, ldab, r, c, rowcnd, colcnd, amax)
  • ?poequ(n, a, lda, s, scond, amax)
  • ?poequb(n, a, lda, s, scond, amax)
  • ?ppequ(uplo, n, ap, s, scond, amax)
  • ?pbequ(uplo, n, kd, ab, ldab, s, scond, amax)
  • ?syequb(uplo, n, a, lda, s, scond, amax)
  • ?heequb(uplo, n, a, lda, s, scond, amax)
  • ?gesv(n, nrhs, a, lda, ipiv, b, ldb)
  • ?geev(jobvl, jobvr, n, a, lda, wr, wi, vl, ldvl, vr, ldvr)
  • ilaver(vers_major, vers_minor, vers_patch)
  • ?lamch(cmach)
  • ?latms(m, n, dist, iseed, sym, d, mode, cond, dmax, kl, ku, pack, a, lda)

Double precision functions expect Float64Array vectors, single precision functions expect Float32Array vectors.

nlapack's People

Contributors

mateogianolio avatar greenkeeper[bot] avatar rotu avatar

Stargazers

Jichen Li avatar 电线杆 avatar Luis Carbonell avatar  avatar  avatar Zhan Tong Zhang avatar  avatar Y. avatar Stefaney Roberts avatar iffsid avatar Jiangzhuo  avatar jongleberry avatar Márk Bartos avatar Ricky Reusser avatar Thibaut Séguy avatar  avatar Bret Comnes avatar Kyle Kelley avatar

Watchers

James Cloos avatar  avatar Athan avatar Luis Carbonell avatar  avatar

nlapack's Issues

Add routines for refining the solution and estimating its error

  • ?gerfs(trans, n, nrhs, a, lda, af, ldaf, ipiv, b, ldb, x, ldx, ferr, berr)
  • ?gerfsx(trans, equed, n, nrhs, a, lda, af, ldaf, ipiv, r, c, b, ldb, x, ldx, rcond, berr, n_err_bnds, err_bnds_norm, err_bnds_comp, nparams, params)
  • ?gbrfs(trans, n, kl, ku, nrhs, ab, ldab, afb, ldafb, ipiv, b, ldb, x, ldx, ferr, berr)
  • ?gbrfsx(trans, equed, n, kl, ku, nrhs, ab, ldab, afb, ldafb, ipiv, r, c, b, ldb, x, ldx, rcond, berr, n_err_bnds, err_bnds_norm, err_bnds_comp, nparams, params)
  • ?gtrfs(trans, n, nrhs, dl, d, du, dlf, df, duf, du2, ipiv, b, ldb, x, ldx, ferr, berr)
  • ?porfs(uplo, n, nrhs, a, lda, af, ldaf, b, ldb, x, ldx, ferr, berr)
  • ?porfsx(uplo, equed, n, nrhs, a, lda, af, ldaf, s, b, ldb, x, ldx, rcond, berr, n_err_bnds, err_bnds_norm, err_bnds_comp, nparams, params)
  • ?pprfs(uplo, n, nrhs, ap, afp, b, ldb, x, ldx, ferr, berr)
  • ?pbrfs(uplo, n, kd, nrhs, ab, ldab, afb, ldafb, b, ldb, x, ldx, ferr, berr)
  • ?ptrfs(n, nrhs, d, e, df, ef, b, ldb, x, ldx, ferr, berr)
  • ?syrfs(uplo, n, nrhs, a, lda, af, ldaf, ipiv, b, ldb, x, ldx, ferr, berr)
  • ?syrfsx(uplo, equed, n, nrhs, a, lda, af, ldaf, ipiv, s, b, ldb, x, ldx, rcond, berr, n_err_bnds, err_bnds_norm, err_bnds_comp, nparams, params)
  • ?herfs(uplo, n, nrhs, a, lda, af, ldaf, ipiv, b, ldb, x, ldx, ferr, berr)
  • ?herfsx(uplo, equed, n, nrhs, a, lda, af, ldaf, ipiv, s, b, ldb, x, ldx, rcond, berr, n_err_bnds, err_bnds_norm, err_bnds_comp, nparams, params)
  • ?sprfs(uplo, n, nrhs, ap, afp, ipiv, b, ldb, x, ldx, ferr, berr)
  • ?hprfs(uplo, n, nrhs, ap, afp, ipiv, b, ldb, x, ldx, ferr, berr)
  • ?trrfs(uplo, trans, diag, n, nrhs, a, lda, b, ldb, x, ldx, ferr, berr)
  • ?tprfs(uplo, trans, diag, n, nrhs, ap, b, ldb, x, ldx, ferr, berr)
  • ?tbrfs(uplo, trans, diag, n, kd, nrhs, ab, ldab, b, ldb, x, ldx, ferr, berr)

An in-range update of @types/node is breaking the build 🚨

The devDependency @types/node was updated from 12.6.9 to 12.7.0.

🚨 View failing branch.

This version is covered by your current version range and after updating it in your project the build failed.

@types/node is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.

Status Details
  • continuous-integration/travis-ci/push: The Travis CI build could not complete due to an error (Details).

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

Add routines for estimating the condition number

  • ?gecon(norm, n, a, lda, anorm, rcond)
  • ?gbcon(norm, n, kl, ku, ab, ldab, ipiv, anorm, rcond)
  • ?gtcon(norm, n, dl, d, du, du2, ipiv, anorm, rcond)
  • ?pocon(uplo, n, a, lda, anorm, rcond)
  • ?ppcon(uplo, n, ap, anorm, rcond)
  • ?pbcon(uplo, n, kd, ab, ldab, anorm, rcond)
  • ?ptcon(n, d, e, anorm, rcond)
  • ?sycon(uplo, n, a, lda, ipiv, anorm, rcond)
  • ?sycon_rook(uplo, n, a, lda, ipiv, anorm, rcond)
  • ?hecon(uplo, n, a, lda, ipiv, anorm, rcond)
  • ?hecon_rook(uplo, n, a, lda, ipiv, anorm, rcond)
  • ?spcon(uplo, n, ap, ipiv, anorm, rcond)
  • ?hpcon(uplo, n, ap, ipiv, anorm, rcond)
  • ?trcon(norm, uplo, diag, n, a, lda, rcond)
  • ?tpcon(norm, uplo, diag, n, ap, rcond)
  • ?tbcon(norm, uplo, diag, n, kd, ab, ldab, rcond)

Add routines for matrix inversion

  • ?getri(n, a, lda, ipiv)
  • ?potri(uplo, n, a, lda)
  • ?pftri(transr, uplo, n, a)
  • ?pptri(uplo, n, ap)
  • ?sytri(uplo, n, a, lda, ipiv)
  • ?sytri_rook(uplo, n, a, lda, ipiv)
  • ?hetri(uplo, n, a, lda, ipiv)
  • ?hetri_rook(uplo, n, a, lda, ipiv)
  • ?sytri2(uplo, n, a, lda, ipiv)
  • ?hetri2(uplo, n, a, lda, ipiv)
  • ?sytri2x(uplo, n, a, lda, ipiv, nb)
  • ?hetri2x(uplo, n, a, lda, ipiv, nb)
  • ?sptri(uplo, n, ap, ipiv)
  • ?hptri(uplo, n, ap, ipiv)
  • ?trtri(uplo, diag, n, a, lda)
  • ?tftri(transr, uplo, diag, n, a)
  • ?tptri(uplo, diag, n, ap)

Add routines for matrix equilibration

  • ?geequ(m, n, a, lda, r, c, rowcnd, colcnd, amax)
  • ?geequb(m, n, a, lda, r, c, rowcnd, colcnd, amax)
  • ?gbequ(m, n, kl, ku, ab, ldab, r, c, rowcnd, colcnd, amax)
  • ?gbequb(m, n, kl, ku, ab, ldab, r, c, rowcnd, colcnd, amax)
  • ?poequ(n, a, lda, s, scond, amax)
  • ?poequb(n, a, lda, s, scond, amax)
  • ?ppequ(uplo, n, ap, s, scond, amax)
  • ?pbequ(uplo, n, kd, ab, ldab, s, scond, amax)
  • ?syequb(uplo, n, a, lda, s, scond, amax)
  • ?heequb(uplo, n, a, lda, s, scond, amax)

bloat in published npm package

I noticed when updating nlapack from 2.0.4 to 2.0.8 that its size grew by somewhere between 10-20x!

Some investigations identified the major culprits:

  • The docs directory is much larger now
  • The cc-reporter binary for code climate is being included in the published npm package ❗

This affects nblas too.

Some judicious editing of .npmignore or package.json's files section would help a lot here.

An in-range update of typedoc is breaking the build 🚨

The devDependency typedoc was updated from 0.15.4 to 0.15.5.

🚨 View failing branch.

This version is covered by your current version range and after updating it in your project the build failed.

typedoc is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.

Status Details
  • continuous-integration/travis-ci/push: The Travis CI build could not complete due to an error (Details).

Commits

The new version differs by 2 commits.

See the full diff

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

Seems I can't find this package on search in npm

I've tried to search for this package on npm under lapack and nlapack and it doesn't show up - should it? Seems like you need some additional keywords on npm or maybe it's being pulled from another repo? At any rate, the top search for npm lapack produces a version that uses the ffi interface, which should be much slower than this one.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.