Notable Peru Mariachis

    @extra-array/linspace.min

    2.3.18 • Public • Published

    Returns evenly spaced values within given interval.

    This is part of package extra-array.

    This is browserified, minified version of @extra-array/linspace.
    It is exported as global variable array_linspace.
    CDN: unpkg, jsDelivr.

    array.linspace(v, V, [n]);
    // v: start of interval
    // V: end of interval
    // n: no. of values in between (100)
    const array = require('extra-array');
    
    array.linspace(0, 1, 3);
    // [0, 0.5, 1]
    
    array.linspace(0, -1, 5);
    // [0, -0.25, -0.5, -0.75, -1]
    
    array.linspace(0, 1);
    // [0, ..., 1]  (100 values)

    references

    Install

    npm i @extra-array/linspace.min

    DownloadsWeekly Downloads

    8

    Version

    2.3.18

    License

    MIT

    Unpacked Size

    4.26 kB

    Total Files

    4

    Last publish

    Collaborators

    • wolfram77