New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

bifurcation

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bifurcation

Bifurcation number generator

latest
Source
npmnpm
Version
1.0.11
Version published
Maintainers
1
Created
Source

Bifurcation number generator

Bifurcation generator npm module

Usage

const { bifurcation } = require("../build");

//
// x[n+1] = r * x[n] * (1-x[n])
//
const Bifurcation = new bifurcation(2.6, 0.4); // (r,x)

// Calculate value
Bifurcation.update(); // 0.624
Bifurcation.update(); // 0.6100224000000001
Bifurcation.update(); // 0.618527185895424
Bifurcation.update(); // 0.6134733961296502
Bifurcation.update(); // 0.6165218497640891

// Get value
console.log(Bifurcation.result); // 0.6165218497640891

Read more: https://en.wikipedia.org/wiki/Bifurcation_diagram

Keywords

Bifurcation

FAQs

Package last updated on 04 Feb 2020

Did you know?

Socket

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