dart_constructs 1.1.3

  • README.md
  • CHANGELOG.md
  • Installing
  • Versions
  • 61

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

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

Analysis

This feature is new.
We welcome feedback.
More details: scoring.

We analyzed this package, and provided a score, details, and suggestions below.

  • completed on Feb 3, 2018
  • Dart: 2.0.0-dev.20.0
  • pana: 0.10.1

Scores

Popularity:
Describes how popular the package is relative to other packages. [more]
24 / 100
Health:
Code health derived from static analysis. [more]
99 / 100
Maintenance:
Reflects how tidy and up-to-date the package is. [more]
97 / 100
Overall score:
Weighted score of the above. [more]
61

Platforms

Detected platforms: Flutter, web, other

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

Suggestions

  • The description is too long.

    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.