0.0.3 • Published 6 years ago

typedarray-addition v0.0.3

Weekly downloads
4
License
MPL-2.0
Repository
gitlab
Last release
6 years ago

SYNOPSIS

NPM Package Build Status Coverage Status

js-standard-style

This adds TypedArrays of arbitrary length together

INSTALL

npm install typedarray-addition

USAGE

const typedAddition = require('typedarray-addition')
const result = typedAddition.add(new Uint8Array([1, 2, 4]), new Uint8Array([42, 4, 1]))
console.log(result) // [43, 6, 5]

API

add

Adds two typed arrays together. The arrays must be the same bitwidth

Parameters

Returns TypedArray the result is stored in a new typed array

addn

Adds a typed arrays and a natural number together

Parameters

Returns TypedArray the result is stored in a new typed array

LICENSE

MPL-2.0

0.0.3

6 years ago

0.0.2

6 years ago

0.0.1

8 years ago

0.0.0

8 years ago