libinterval 0.1.6 libinterval: ^0.1.6 copied to clipboard
A mathematical interval implementation with unbounded, closed, and open intervals, with standard operations (union, difference, intersection, symmetric difference)
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add libinterval
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
libinterval: ^0.1.6
Alternatively, your editor might support dart pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:libinterval/boundary.dart';
import 'package:libinterval/interval.dart';
import 'package:libinterval/interval_set.dart';
import 'package:libinterval/iterator.dart';