invertible 1.0.0 copy "invertible: ^1.0.0" to clipboard
invertible: ^1.0.0 copied to clipboard

outdated

A Dart library for defining invertible functions and their compositions

invertible - Define invertible functions and their compositions #

Version Build Status Coverage Status License

A Dart library for defining invertible functions and their compositions

Usage #

See example/invertible_example.dart

initInvertible();

final InvertibleRealFunction celsiusToFahrenheit =
    InvertibleRealFunction.parse('* 9; / 5; + 32;');

final InvertibleRealFunction fahrenheitToCelsius = celsiusToFahrenheit.inverse();

final num fahrenheit = celsiusToFahrenheit(40);
// fahrenheit == 104

final num celsius = fahrenheitToCelsius(41);
// celsius == 5

Syntax #

See documentation for more

License #

MIT

3
likes
40
pub points
7%
popularity

Publisher

verified publisherdart.dkinom.dev

A Dart library for defining invertible functions and their compositions

Homepage
Repository (GitHub)
View/report issues

License

MIT (license)

More

Packages that depend on invertible