invertible 2.0.0
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

1
likes
130
pub points
45%
popularity

Publisher

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