@analys/enum-difference-modes

Enums for analys toolkit


Keywords
array, vector, matrix, object
License
MIT
Install
npm install @analys/enum-difference-modes@0.5.15

Documentation

banner

functionalities for vector

vector / matrix / columns / entries / object / nested

indexed / mapper / iterate / mutate / select / zipper

version language manager npm last update github last commit github commits node version

Features

  • Extend functions for object, array, 2d-array, entries, and nested object.
  • Modularized & install on demand.
  • Lightweight.
  • Support both ESM and CJS module.

Install

$ npm install @vect/<tool-name>

Tools

Consolidated functions

vector Functions for 1d-array(vector) core v
matrix Functions for 2d-array(matrix) core v
column Functions for matrix column core v
entries Functions for entries core v
object Functions for object core v
nested Functions for nested object core v

Constructs

Functions to create new instances

vector-init Construct vector init v
matrix-init Construct matrix init v
entries-init Construct entries init v
object-init Construct object init v

Algebra

Algebra space for array and 2d-array

vector-algebra algebra space for vector algebra v
matrix-algebra algebra space for matrix algebra v

Index

Element operation for array, 2d-array and object

vector-index element operation for vector index v
matrix-index element operation for matrix index v
object-index element operation for object index v

Mappers

Iterator or mapping functions

vector-mapper Mapper/iterate for vector mapper v
matrix-mapper Mapper/iterate for matrix elements mapper v
column-mapper Mapper/iterate for matrix column mapper v
columns-mapper Mapper/iterate for matrix columns mapper v
entries-mapper Mapper/iterate for entries mapper v
object-mapper Mapper/iterate for object mapper v

Zippers

vector-zipper Zipper for vector zipper v
matrix-zipper Zipper for matrix elements zipper v
column-zipper Zipper for matrix column zipper v
columns-zipper Zipper for matrix columns zipper v
entries-zipper Zipper for entries zipper v
object-zipper Zipper for object zipper v

Indicators [Deprecated]

vector-indicator Indicator for vector indicator v
matrix-indicator Indicator for matrix elements indicator v
column-indicator Indicator for matrix column indicator v
columns-indicator Indicator for matrix columns indicator v
entries-indicator Indicator for entries indicator v

Select

vector-select Select vector by index list select v
object-select Select object by key list select v
columns-select Select columns by column indexes select v

Statistics

vector-stat Statistics for vector statistics v
matrix-stat Statistics for matrix elements statistics v
column-stat Statistics for matrix column statistics v
columns-stat Statistics for matrix columns statistics v
entries-stat Statistics for entries statistics v

Update

vector-update Splices vector by index list update v
columns-update Pop/push/(un)shift/splices columns update v

Margins [Deprecate]

vector-margin Margin for vector margin v
matrix-margin Margin for matrix margin v
entries-margin Margin for entries margin v

Quantifiers

matrix-quantifier Every & some for matrix elements quantifier v
column-quantifier Every & some for matrix column quantifier v

Misc [Deprecate]

callable Create a callable class misc v

Meta

LICENSE (MIT)