dart_numerics 0.0.5

  • README.md
  • CHANGELOG.md
  • Example
  • Installing
  • Versions
  • 47

dart-numerics #

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.

Usage #

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.

0.0.4 #

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

0.0.3 #

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

0.0.2 #

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

0.0.1 #

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

example/example.dart

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:


dependencies:
  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
Popularity:
Describes how popular the package is relative to other packages. [more]
0
Health:
Code health derived from static analysis. [more]
98
Maintenance:
Reflects how tidy and up-to-date the package is. [more]
90
Overall:
Weighted score of the above. [more]
47
Learn more about scoring.

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

  • Dart: 2.1.0
  • pana: 0.12.13

Platforms

Detected platforms: Flutter, web, other

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

Health suggestions

Fix lib/src/euclid.dart. (-1.99 points)

Analysis of lib/src/euclid.dart reported 4 hints:

line 186 col 7: Use isEmpty instead of length

line 214 col 7: Use isEmpty instead of length

line 236 col 7: Use isEmpty instead of length

line 264 col 7: Use isEmpty instead of length

Maintenance suggestions

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

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

Dependencies

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