Search packages, repositories and app categories

GitHub repositorydkin-om/invertible-dart

invertible-dart

A Dart library for defining invertible functions and their compositions.

invertible-dart project cover
Stars
1
Forks
0
Last push (UTC)
Jul 18, 2022
Project status
Active

Original README

English project snapshot. Visit GitHub for the latest content.

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

Bhargav Reddy GitHub avatar
LanguagesDart

Packages published by this repository

Dependencies used

Dependency list 2 items

How do I choose a repository?

Start with your use case, compare repository activity, and check the original project before adopting it.

  1. Search by repository name, owner or description, then narrow the results by topic.
  2. Compare stars, forks and recent pushes. Stars show community interest, not a guarantee of quality.
  3. Read the README, license and issues on GitHub before using a project.

Sources and maintenance

“A repository is the most basic element of GitHub.”

GitHub Docs — About repositories ↗