bbt 1.0.7

  • README.md
  • Installing
  • Versions
  • 25

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.

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

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

Analysis

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

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

  • tool failures on Feb 16, 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]
20 / 100
Health:
Code health derived from static analysis. [more]
5 / 100
Maintenance:
Reflects how tidy and up-to-date the package is. [more]
68 / 100
Overall score:
Weighted score of the above. [more]
25

Platforms

Detected platforms: Flutter, other

Primary library: package:bbt/bbt.dart with components: io.

Suggestions

  • Fix lib/random/heprandomengine.dart.

    Strong-mode analysis of lib/random/heprandomengine.dart failed with the following error:

    line: 24 col: 10
    'Flat' must have a method body because 'heprandomengine' isn't abstract.

  • Fix lib/random/randommzjcq.dart.

    Strong-mode analysis of lib/random/randommzjcq.dart failed with the following error:

    line: 84 col: 91
    The argument type 'int' can't be assigned to the parameter type 'String'.

  • Fix further 2 Dart files.

    Similar analysis of the following files failed:

    • lib/random/randflat.dart
    • lib/random/hepjamesrandom.dart
  • Maintain CHANGELOG.md.

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

  • Fix issues reported by dartanalyzer.

    dartanalyzer reported 3 error(s) and 0 warning(s).

  • Maintain an example.

    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.

Dependencies

Package Constraint Resolved Available
Direct dependencies
args >=0.13.7 <0.14.0 0.13.7 1.3.0
dart_style >=0.2.16 <0.3.0 0.2.16 1.0.9+1
test >=0.12.20+2 <0.13.0 0.12.30+3
Transitive dependencies
analyzer 0.29.11 0.31.1
async 2.0.3 2.0.4
barback 0.15.2+14
boolean_selector 1.0.2
charcode 1.1.1
cli_util 0.0.1+2 0.1.2+1
collection 1.14.5
convert 2.0.1
crypto 2.0.2+1
csslib 0.14.1
glob 1.1.5
html 0.13.2+2
http 0.11.3+16
http_multi_server 2.0.4
http_parser 3.1.1
io 0.3.2+1
isolate 1.1.0
js 0.6.1
logging 0.11.3+1
matcher 0.12.1+4
meta 1.1.2
mime 0.9.6
multi_server_socket 1.0.1
node_preamble 1.4.0
package_config 1.0.3
package_resolver 1.0.2
path 1.5.1
plugin 0.2.0+2
pool 1.3.4
pub_semver 1.3.2
shelf 0.7.2
shelf_packages_handler 1.0.3
shelf_static 0.2.7
shelf_web_socket 0.2.2
source_map_stack_trace 1.1.4
source_maps 0.10.4
source_span 1.4.0
stack_trace 1.9.2
stream_channel 1.6.3
string_scanner 1.0.2
term_glyph 1.0.0
typed_data 1.1.5
utf 0.9.0+4
watcher 0.9.7+7
web_socket_channel 1.0.6 1.0.7
when 0.2.0
which 0.1.3
yaml 2.1.13