JSPM

robust-dot-product

1.0.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 26435
  • Score
    100M100P100Q154134F
  • License MIT

Exactly computes the dot product between two vectors

Package Exports

  • robust-dot-product

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (robust-dot-product) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

robust-dot-product

Exactly computes the dot product between vectors as an nonoverlapping increasing sequence.

Install

npm install robust-dot-product

Example

var robustDot = require("robust-dot-product")

robustDot([2, 3], [4, 5])

require("robust-dot-product")(a, b)

Computes the dot product of a and b as a nonoverlapping increasing sequence

  • a, b are both arrays of numbers

Returns A nonoverlapping increasing sequence representing the dot product of a and b

Credits

(c) 2013 Mikola Lysenko. MIT License