1.0.1 • Published 6 years ago

power-set-pair v1.0.1

Weekly downloads
3
License
ISC
Repository
github
Last release
6 years ago

power-set-pair

iterate over a array to get all subsets

Installation

npm install --save power-set-pair

Usage

convolution([1, 2, 3, 4], (a, b) => a + b) // [3, 4, 5, 5, 6, 7]

API

powerSetPair(array, mapper)-> array

mapper(arrayElement, otherArrayElement) -> Any

1.0.1

6 years ago

1.0.0

6 years ago