Socket
Socket
Sign inDemoInstall

16

Package Overview
Dependencies
1
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    16

A scientific Computing Library like R and Matlab


Version published
Weekly downloads
2.4K
decreased by-8.79%
Maintainers
1
Install size
214 kB
Created
Weekly downloads
 

Readme

Source

jslab -- A Scientific Computing Library like R and Matlab

Introduction

npm install jslab

Use jslab

file : jslab_test.js

var J = require("jslab");
var C = console;

var A = [[1,2,3],[3,2,2],[4,3,5]];
C.log("A=\n", J.str(A));

var iA = J.inv(A);
C.log("iA=\n", J.str(iA));

var AiA = J.dot(A, iA);
C.log("A*iA=\n", J.str(AiA));

run

$ node jslab_test
A=
 [[          1,          2,          3],
 [          3,          2,          2],
 [          4,          3,          5]]
iA=
 [[    -0.5714,     0.1429,     0.2857],
 [          1,          1,         -1],
 [    -0.1429,    -0.7143,     0.5714]]
A*iA=
 [[          1,          0,          0],
 [ -1.665e-16,          1,  -2.22e-16],
 [ -4.441e-16,  4.441e-16,          1]]

Information

You may mail to ccckmit@gmail.com to contact the author.

Enjoy it !

Keywords

FAQs

Last updated on 30 Mar 2016

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc