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

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

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
160
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

Documentation

API reference

License

MIT (license)

Dependencies

equatable

More

Packages that depend on invertible