v2.0.0
invertible
역함수와 그 조합을 정의하기 위한 다트 라이브러리
3좋아요 2.1만30일 다운로드160Pub 점수
AndroidiOSWebmacOSWindowsLinux
Dart 라이브러리로 역함수와 그 조합을 정의합니다.
아래는 영문 원문 스냅샷입니다. 최신 내용은 GitHub에서 확인하세요.
Version Build Status Coverage Status License
A Dart library for defining invertible functions and their compositions
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
See documentation for more