Skip to content

Commit

Permalink
[UPDATE] README.
Browse files Browse the repository at this point in the history
  • Loading branch information
kgryte committed Mar 3, 2015
1 parent c73093c commit 4615bda
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ $ node ./examples/index.js

The motivation for this module stems from wanting to create an API for `arrays` similar to Python and Matlab; e.g., `A = B[1:6:2];`. JavaScript only supports basic indexing; e.g., `A = B[3][2];`.

The workaround provided by this module is to express the subsequence syntax as a `string`, which, when provided with an `array` length, is then parsed into an index `array`. A consumer can then iterate through the index `array` to extract the desired elements.
The workaround provided by this module is to express the subsequence syntax as a `string`, which, when provided with a reference `array` length, is parsed and then converted into an index `array`. A consumer can then iterate through the index `array` to extract the desired elements.

``` javascript
var indexspace = require( 'compute-indexspace' );
Expand Down

0 comments on commit 4615bda

Please sign in to comment.