Skip to content

Cereceres/power-set-pair

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

iterate over a array to get all subsets

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published