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!

Examples:


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

Author


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

Contact


If you would like to contact me to get in touch, voice a concern, etc. shoot me an email at [email protected]

Special Thanks


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

Libraries

dart_constructs