data 0.2.0

  • Readme
  • Changelog
  • Example
  • Installing
  • 70

Dart Data #

Pub Package Build Status Coverage Status GitHub Issues GitHub Forks GitHub Stars GitHub License

Dart Data is a fast and space efficient library to deal with data in Dart, Flutter and the web. As of today this mostly includes data structures and algorithms for vectors and matrices, but at some point might also include graphs and other mathematical structures.

This library is open source, stable and well tested. Development happens on GitHub. Feel free to report issues or create a pull-request there. General questions are best asked on StackOverflow.

The package is hosted on dart packages. Up-to-date class documentation is created with every release.

Tutorial #


License #

The MIT License, see LICENSE.

The matrix decomposition algorithms are a direct port of the JAMA: A Java Matrix Package, that is released under public domain.

Changelog #

0.1.0 #

  • Initial version


Data Examples #

This package contains examples to illustrate the use of Data. A tutorial and full documentation is contained in the package description and API documentation.

Magic Square #

Generates magic squares of different sizes and computes interesting decomposition properties of the matrices.

Use this package as a library

1. Depend on it

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

  data: ^0.2.0

2. Install it

You can install packages from the command line:

with pub:

$ pub get

with Flutter:

$ flutter pub get

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

3. Import it

Now in your Dart code, you can use:

import 'package:data/matrix.dart';
import 'package:data/tensor.dart';
import 'package:data/type.dart';
import 'package:data/vector.dart';
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 Mar 31, 2020, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.7.1
  • pana: 0.13.6

Maintenance issues and suggestions

Support latest dependencies. (-10 points)

The version constraint in pubspec.yaml does not support the latest published versions for 1 dependency (more).


Package Constraint Resolved Available
Direct dependencies
Dart SDK >=2.4.0 <3.0.0
collection ^1.14.0 1.14.12
more ^1.17.0 1.18.2 2.2.0
Dev dependencies
test ^1.6.0