FLUTTER ECOSYSTEM

dkin-om/invertible-dart

Dart 라이브러리로 역함수와 그 조합을 정의합니다.

invertible-dart 프로젝트 이미지
Stars
1
Forks
0
최근 푸시(UTC)
2022. 7. 18.
프로젝트 상태
활성
Bhargav Reddy GitHub avatar
GITHUB Organization

Bhargav Reddy ↗

언어Dart

이 저장소가 배포한 패키지

사용 중인 의존성

의존성 목록 2 개

원본 README

아래는 영문 원문 스냅샷입니다. 최신 내용은 GitHub에서 확인하세요.

README 펼치기 / 접기

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