You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

dot-product-ndarray

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dot-product-ndarray

Returns dot product of two 2D ndarrays

1.0.4
latest
npmnpm
Version published
Weekly downloads
2
-71.43%
Maintainers
1
Weekly downloads
 
Created
Source

dot-product-ndarray

Build Status Given two 2D ndarrays, returns a 2D ndarray that is a dot product of the two.

Usage

var dotProduct = require('dot-product-ndarray');

var left = ndarray( [1,2,3,4,5,6], [3,2], [2,1] );
var right = ndarray( [1,2,3,4,5,6], [2,3], [3,1] );

dotProduct(left, right, function(err, data) {
  // do something with returned data
});

Limitations

2D only.

Keywords

ndarray

FAQs

Package last updated on 02 Nov 2015

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