JSPM

math-foreach

1.0.1
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 1
  • Score
    100M100P100Q15202F
  • License UNLICENSED

Simple Array Math Library

Package Exports

  • math-foreach

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 (math-foreach) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

math-foreach

Simple Array Math Library

npm version dependencies Build Status lifetimeDownloadCount Pledge To Arupex!

A word of Caution, at Arupex we take AGILE seriously, while we try our best to semver, that also means 2 things happen

  • releases with partial code ( if its not tested its not prime time, the api may be unstable, if it does change we will do a major version bump )
  • lots of Major version bumps ( we dont want you broken, because of us )

##Install

npm install math-foreach --save

##Usage

let ArrayMath = require('math-foreach').ArrayMath;
chainObj = new ArrayMath(array, optionalAccessorStr);

let normalizedMaxOf1stDerivative = chainObj
                                    .derivative1d(1)
                                    .normalize()
                                    .max();

##Docs

( highly recommend reading unit tests in test folder ) - Chain Tests - Opperation Tests - Timeseries Tests


####Ready


####In Progress ( Use with Some Caution Equivalent to Nightly )


####TBC (to be coded, future release)

Data Styles both work thanks to ( deep-setter deep-value modules )

var dataStyle1 = [{"value": 0},{"value": 1},{"value": 2}]
                 
var dataStyle2 = [0, 1, 2]