dart_constructs 1.1.3

  • README.md
  • CHANGELOG.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.

<h2>So Far</h2>


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!

<h3>Examples:</h3>


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);

<h2>Author</h2>


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

<h2>Contact</h2>


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

<h2>Special Thanks</h2>


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:


dependencies:
  dart_constructs: ^1.1.3

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

Health suggestions

Fix lib/n_matrix.dart. (-0.50 points)

Analysis of lib/n_matrix.dart reported 1 hint:

line 91 col 5: Dead code.

Maintenance issues and suggestions

Add SDK constraint in pubspec.yaml. (-50 points)

For information about setting SDK constraint, please see https://www.dartlang.org/tools/pub/pubspec#sdk-constraints.

Package is getting outdated. (-86.85 points)

The package was released 97 weeks ago.

The description is too long. (-10 points)

Search engines will display only the first part of the description. Try to keep it under 180 characters.

Maintain an example.

None of the files in your example/ directory matches a known example patterns. Common file name patterns include: main.dart, example.dart or you could also use dart_constructs.dart. Packages with multiple examples should use example/readme.md.