dart_constructs 1.1.3

  • README.md
  • Installing
  • Versions
  • 0

Constructs Project

The Goal

The goal of the constructs project is to use the existing Dart data structures to build more complex data structures (and thus constructs) that are not in the Dart language. This will hopefully help out Dart Devs who need extra data structures with it's own methods already implemented.

So Far

As of writing, this project's sole focus is on the nth dimensional matrix, the NMatrix class. However other data structures are being planned out for implementation!


1.To make a one dimensional matrix (aka a list) with 5 rows:
NMatrix<int> oneDim = new NMatrix.dimensional([5]);

2.To instantiate it with an initial value other than the default null value:

NMatrix<int> oneDim = new NMatrix.dimensional([5], 1);

3.To travel to the 5th dimension we simply do:

NMatrix<int> fiveDim = new NMatrix.dimensional([5,2,5,2,5], 1);


Kyle Ferguson is the sole author of the dart constructs project.


If you would like to contact me to get in touch, voice a concern, etc. shoot me an email at hanbrolo117@gmail.com.

Special Thanks

Thank you to cups of delicious coffee ☕ and bowls of cereal.
         *******           *******
      ***                         ***
      **                           ***
      *****                     ***********
      *******************************      *****
      *******************************       *****
      *******************************       *****
      *******************************       *****
      *******************************       *****
      *******************************       *****
      *******************************       *****
      *******************************      *****

dart_construct ChangeLog

Version 1.1.3 Released

  • Removed unnecessary dependency on the dart:io library

Version 1.1.2 Released

  • Fixed some spelling and grammatical errors
  • Updated some tests.
  • Added a benchmark test. In object vs primitives, Java primitives beat NMatrix. However, everything is an object in Dart, therefore there is an object vs object test. Java Arraylists get stackOverflow, where NMatrix continues to perform. See GitHub for test code.

Version 1.1.1 Released

Fixed Changelog Style Error.

Version 1.1.0 Released

Not enough tests for dimensionalExpansion have been made to confirm stability. This version is patch to an incorrect implementation of the dimensionalExpansion algorithm from version 1.0.0. In the previous version, the matrix was linearized and then sequentially placed into each position of the new matrix. This was quickly realized to be both a poor and incorrect implementation as the old values where not truly placed into their new relative positions. This has now been fixed with an updated matrixPorting algorithm. If future tests reveal any minor errors, updates to 1.1 will be made.

Version 1.0.0 Released

This is the initial release of dart_construct. The initial release contains the initial implementation of the NMatrix class. Future changes may occur, for any errors or non-negligible performance enhancements. Also Future classes may be implemented alongside NMatrix. Not all functions have been fully tested

Use this package as a library

1. Depend on it

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

  dart_constructs: ^1.1.3

2. Install it

You can install packages from the command line:

with pub:

$ pub get

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

3. Import it

Now in your Dart code, you can use:

import 'package:dart_constructs/dart_constructs.dart';
Version Uploaded Documentation Archive
1.1.3 Jan 21, 2017 Go to the documentation of dart_constructs 1.1.3 Download dart_constructs 1.1.3 archive
1.1.2 Sep 14, 2016 Go to the documentation of dart_constructs 1.1.2 Download dart_constructs 1.1.2 archive
1.1.1 Aug 17, 2016 Go to the documentation of dart_constructs 1.1.1 Download dart_constructs 1.1.1 archive
1.1.0 Aug 17, 2016 Go to the documentation of dart_constructs 1.1.0 Download dart_constructs 1.1.0 archive
1.0.0 Aug 17, 2016 Go to the documentation of dart_constructs 1.0.0 Download dart_constructs 1.0.0 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.

The package version is not analyzed, because it does not support Dart 2. Until this is resolved, the package will receive a health and maintenance score of 0.

Analysis issues and suggestions

Support Dart 2 in pubspec.yaml.

The SDK constraint in pubspec.yaml doesn't allow the Dart 2.0.0 release. For information about upgrading it to be Dart 2 compatible, please see https://dart.dev/dart-2#migration.

Maintenance issues and suggestions

Make sure dartdoc successfully runs on your package's source files. (-10 points)

Dependencies were not resolved.