Skip to content
A few Mathematics and Physics constants
Perl 6 Python
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github
Parsers
lib/Math
t
.gitignore
.travis.yml
CONTRIBUTING.md
Changes
LICENSE
META6.json
README.md
_config.yml

README.md

Math::Constants

Math::Constants - A few constants defined in Perl6

SYNOPSIS

#!/usr/bin/env perl6

use v6;
use Math::Constants;

say "We have ", phi, " ", plancks-h, " ",  plancks-reduced-h, " ", 
    c, " ", G, " and ", fine-structure-constant, " plus ",
    elementary-charge, " and ", vacuum-permittivity ;
	
say "And also  φ ", φ, " α ", α,  " ℎ ",  ℎ, " and ℏ ", ℏ,
    " with e ", e, " and ε0 ", ε0;

say "We are flying at speed ", .1c;

DESCRIPTION

Math::Constants is a collection of Math and Physics constants that will save you the trouble of defining them.

Constants included

Issues and suggestions

Please post them in GitHub. Pull requests are also welcome.

AUTHOR

JJ Merelo jjmerelo@gmail.com

COPYRIGHT AND LICENSE

Copyright 2016 JJ Merelo

This library is free software; you can redistribute it and/or modify it under the GPL 3.0.

You can’t perform that action at this time.