Socket
Socket
Sign inDemoInstall

linspace

Package Overview
Dependencies
1
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    linspace

An implementation of MATLAB's linspace


Version published
Weekly downloads
3.4K
increased by14.45%
Maintainers
1
Install size
17.5 kB
Created
Weekly downloads
 

Readme

Source

linspace

An implementation of MATLAB's linspace function.

install

npm install linspace

require

var linspace = require('linspace');

use

linspace(from, to, length)

Acts like linspace from matlab:

> linspace(1,5,15)
[ 1,
  1.2857142857142856,
  1.5714285714285712,
  1.8571428571428568,
  2.1428571428571423,
  2.428571428571428,
  2.7142857142857135,
  2.999999999999999,
  3.2857142857142847,
  3.5714285714285703,
  3.857142857142856,
  4.1428571428571415,
  4.428571428571427,
  4.714285714285713,
  4.999999999999998 ]

license

MIT/X11

Keywords

FAQs

Last updated on 23 Mar 2022

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc