bbt 1.0.7

  • README.md
  • Installing
  • Versions
  • 0

BBT-Dart

USAGE

./RUNME.sh

lib/random/HepRandomEngine.dart

Super class for pseudo-random number generator algorithms.

lib/random/HepRandom.dart

Super class for probability distribution functions calculations.

lib/random/HepJamesRandom.dart

Same as RandomMZJCQ.dart

lib/random/RandomMZJCQ.dart

This algorithm implements the original universal random number generator as proposed by Marsaglia & Zaman in report FSU-SCRI-87-50, described in "F. James, Comp. Phys. Comm. 60 (1990) 329" and coded in FORTRAN77 by Fred James as the RANMAR generator, part of the MATHLIB HEP library. This algorithm was incorporated to the Geant4 simulation toolkit by G. Cosmo (1995) and coded in JavaScript by F. Quinonez (2015).

Pseudo-random numbers generator Marzaglia-Zaman-James-Cosmo-Quinonez Known in the High Energy Physics community as the HepJamesRandom generator.

lib/random/RandFlat.dart

Probability Distribution Function PDF Uniform.

Use this package as a library

1. Depend on it

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


dependencies:
  bbt: ^1.0.7

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:bbt/bbt.dart';
  
Version Uploaded Documentation Archive
1.0.7 Mar 8, 2017 Go to the documentation of bbt 1.0.7 Download bbt 1.0.7 archive
1.0.6 Oct 25, 2016 Go to the documentation of bbt 1.0.6 Download bbt 1.0.6 archive
1.0.5 Oct 25, 2016 Go to the documentation of bbt 1.0.5 Download bbt 1.0.5 archive
1.0.4 Oct 25, 2016 Go to the documentation of bbt 1.0.4 Download bbt 1.0.4 archive
1.0.3 Oct 24, 2016 Go to the documentation of bbt 1.0.3 Download bbt 1.0.3 archive
1.0.2 Oct 21, 2016 Go to the documentation of bbt 1.0.2 Download bbt 1.0.2 archive
1.0.1 Oct 21, 2016 Go to the documentation of bbt 1.0.1 Download bbt 1.0.1 archive
1.0.0 Oct 21, 2016 Go to the documentation of bbt 1.0.0 Download bbt 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]
0
Maintenance:
Reflects how tidy and up-to-date the package is. [more]
0
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.

Analysis issues and suggestions

Fix dependencies in pubspec.yaml.

Running pub upgrade failed with the following output:

ERR: The current Dart SDK version is 2.0.0.
 
 Because bbt depends on args >=0.2.8+2 <1.4.4 which requires SDK version <2.0.0, version solving failed.

Health suggestions

Format bin/main.dart.

Run dartfmt to format bin/main.dart.

Format lib/random/hepjamesrandom.dart.

Run dartfmt to format lib/random/hepjamesrandom.dart.

Format lib/random/heprandom.dart.

Run dartfmt to format lib/random/heprandom.dart.

Fix additional 3 files with analysis or formatting issues.

Additional issues in the following files:

  • lib/random/heprandomengine.dart (Run dartfmt to format lib/random/heprandomengine.dart.)
  • lib/random/randflat.dart (Run dartfmt to format lib/random/randflat.dart.)
  • lib/random/randommzjcq.dart (Run dartfmt to format lib/random/randommzjcq.dart.)

Maintenance issues and suggestions

Fix platform conflicts. (-20 points)

Error(s) prevent platform classification:

Fix dependencies in pubspec.yaml.

Maintain CHANGELOG.md. (-20 points)

Changelog entries help clients to follow the progress in your code.

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

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

Package is getting outdated. (-61.92 points)

The package was released 84 weeks ago.

Maintain an example. (-10 points)

Create a short demo in the example/ directory to show how to use this package. Common file name patterns include: main.dart, example.dart or you could also use bbt.dart.