dart_constructs 1.1.3 copy "dart_constructs: ^1.1.3" to clipboard
dart_constructs: ^1.1.3 copied to clipboard

Dart 1 only

As of now, the constructs project has one data structure, that is the nth dimensional matrix construct. Say I want to make a 3x3x3x3 integer matrix initialized with a value of 5, I would simply type N [...]

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add dart_constructs

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):

dependencies:
  dart_constructs: ^1.1.3

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

Import it

Now in your Dart code, you can use:

import 'package:dart_constructs/dart_constructs.dart';
0
likes
20
pub points
0%
popularity

Publisher

unverified uploader

As of now, the constructs project has one data structure, that is the nth dimensional matrix construct. Say I want to make a 3x3x3x3 integer matrix initialized with a value of 5, I would simply type NMatrix<int> nm4 = new NMatrix.dimensional([3,3,3,3],5); That's it!

Homepage

License

BSD-2-Clause (LICENSE)

More

Packages that depend on dart_constructs