@aryth/distinct-matrix

Return ranks of each element in a 2-d array

Usage no npm install needed!

<script type="module">
  import arythDistinctMatrix from 'https://cdn.skypack.dev/@aryth/distinct-matrix';
</script>

README

@aryth/distinct-matrix

npm version npm download monthly npm download total npm dependents npm license pp install size github commit last github commit total

Rank each element in a 2-d array

Features

  • Rank each element of a 2-d array.
  • Return a new 2-d array of the same size as the input 2-d array.
  • Comparer configurable.
  • Filter optional. Those elements who do not meet filter gets rank value of -1.

Install

$ npm install @aryth/distinct-matrix

Usage

Meta

LICENSE (MIT)