bbt 1.0.7

  • README.md
  • Installing
  • Versions
  • 14

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 failed 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 failed Download bbt 1.0.0 archive

Analysis

We analyzed this package on Apr 23, 2018, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.0.0-dev.49.0
  • pana: 0.10.6

Scores

Popularity:
Describes how popular the package is relative to other packages. [more]
0 / 100
Health:
Code health derived from static analysis. [more]
5 / 100
Maintenance:
Reflects how tidy and up-to-date the package is. [more]
62 / 100
Overall score:
Weighted score of the above. [more]
14
Learn more about scoring.

Platforms

Detected platforms: Flutter, other

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

Suggestions

  • Maintain CHANGELOG.md.

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

  • Fix analysis and formatting issues.

    Analysis or formatting checks reported 16 errors 28 hints.

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

    line: 83 col: 7
    Undefined name 'console'.

    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.

    Similar analysis of the following files failed:

    • lib/random/randflat.dart (error)
    • lib/random/randommzjcq.dart (error)
    • lib/random/heprandom.dart (hint)
  • 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.4.2
dart_style >=0.2.16 <0.3.0 0.2.16 1.0.10
test >=0.12.20+2 <0.13.0 0.12.35
Transitive dependencies
analyzer 0.29.11 0.31.1
async 2.0.6
barback 0.15.2+15
boolean_selector 1.0.3
charcode 1.1.1
cli_util 0.0.1+2 0.1.2+1
collection 1.14.9
convert 2.0.1
crypto 2.0.2+1
csslib 0.14.1
glob 1.1.5
html 0.13.3
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 2.0.0
js 0.6.1
logging 0.11.3+1
matcher 0.12.2
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.7
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.5
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.7
when 0.2.0
which 0.1.3
yaml 2.1.13