math-function-generator
TypeScript icon, indicating that this package has built-in type declarations

2.0.0 • Public • Published

Math Function Generator

Math Function Generator is a Typescript library that can be used to generate various types of math functions (E.g. Linear, Quadratic, Trigonometric) with random coefficient and constant values.

Installation

npm install math-function-generator

OR

yarn add math-function-generator

Usage

import { LinearFunction, QuadraticFunction } from 'math-function-generator';

const randomLinearEquations = new LinearFunction().getEquations();
const randomQuadraticEquations = new QuadraticFunction({
  subType: 'vertex',
  randRange: { min: 2, max: 10 },
}).getEquations();

Authors

License

MIT

/math-function-generator/

    Package Sidebar

    Install

    npm i math-function-generator

    Weekly Downloads

    0

    Version

    2.0.0

    License

    MIT

    Unpacked Size

    82.4 kB

    Total Files

    35

    Last publish

    Collaborators

    • v-prataap