dart_numerics 0.0.5

  • README.md
  • Example
  • Installing
  • Versions
  • 48


dart-numerics is an ultimate mathematical package inspired by .NET analogue, aiming to provide methods and algorithms for numerical computations in science, engineering and every day use.


A simple usage example:

import 'package:dart_numerics/dart_numerics.dart' as numerics;

main() {
  print(numerics.acosh(numerics.pi / 2));

Features and bugs

Please file feature requests and bugs at the issue tracker.


  • Family of Gamma functions.
  • Family of Beta functions.
  • More Precision-related functions.
  • Fixed missed export of Comparison-related functions.
  • More pub-friendly repository.


  • Simple regression functions.
  • Basic Least-Squares Curve Fitting Routines.


  • Euclid-related functions.
  • Permutation class implemented permutation logic.


  • Various constants.
  • Naive common logarithm implementation (log10).
  • Basic precision functions.
  • Functions for equality and comparison.
  • Trigonometry functions.


import 'package:dart_numerics/dart_numerics.dart' as numerics;

main() {
  print(numerics.acosh(numerics.pi / 2));

Use this package as a library

1. Depend on it

Add this to your package's pubspec.yaml file:

  dart_numerics: ^0.0.5

2. Install it

You can install packages from the command line:

with pub:

$ pub get

with Flutter:

$ flutter packages get

Alternatively, your editor might support pub get or flutter packages get. Check the docs for your editor to learn more.

3. Import it

Now in your Dart code, you can use:

import 'package:dart_numerics/dart_numerics.dart';
Version Uploaded Documentation Archive
0.0.5 Nov 9, 2018 Go to the documentation of dart_numerics 0.0.5 Download dart_numerics 0.0.5 archive
0.0.4 Nov 7, 2018 Go to the documentation of dart_numerics 0.0.4 Download dart_numerics 0.0.4 archive
0.0.3 Nov 5, 2018 Go to the documentation of dart_numerics 0.0.3 Download dart_numerics 0.0.3 archive
0.0.2 Nov 5, 2018 Go to the documentation of dart_numerics 0.0.2 Download dart_numerics 0.0.2 archive
0.0.2-hotfix Nov 5, 2018 Go to the documentation of dart_numerics 0.0.2-hotfix Download dart_numerics 0.0.2-hotfix archive
0.0.2-SNAPSHOT Nov 5, 2018 Go to the documentation of dart_numerics 0.0.2-SNAPSHOT Download dart_numerics 0.0.2-SNAPSHOT archive
Describes how popular the package is relative to other packages. [more]
Code health derived from static analysis. [more]
Reflects how tidy and up-to-date the package is. [more]
Weighted score of the above. [more]
Learn more about scoring.

We analyzed this package on Jan 15, 2019, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.1.0
  • pana: 0.12.10


Detected platforms: Flutter, web, other

No platform restriction found in primary library package:dart_numerics/dart_numerics.dart.

Maintenance suggestions

Package is pre-v0.1 release. (-10 points)

While there is nothing inherently wrong with versions of 0.0.*, it usually means that the author is still experimenting with the general direction of the API.


Package Constraint Resolved Available
Direct dependencies
Dart SDK >=2.0.0 <3.0.0
tuple ^1.0.2 1.0.2
Transitive dependencies
matcher 0.12.4
meta 1.1.7
path 1.6.2
quiver 2.0.1
stack_trace 1.9.3
Dev dependencies
test ^1.0.0