linear-preset-by-coefficients
v1.3.0
Published
Generate linear presets from coefficients
Downloads
1
Readme
linear-preset-by-coefficients
Generate linear presets from coefficients
Install
npm i linear-preset-by-coefficients
Usage
var Decimal = require('linear-arbitrary-precision')(require('floating-adapter'));
var preset = require('linear-preset-by-coefficients')(Decimal);
// all numbers are Decimal
preset(9/5, 32); // => [[0, 1], [32, 33.8]]
Related projects
- linear-presets: linear presets for common units.
- linear-converter: flexible linear converter.