Skip to content

kjpye/Raku-math-constants

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

97 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Physical constants

All the physical constants have the CODATA 2018 recommended values. These reflect the new definitions of the kilogram and ampere as of 2019-05-20.

Mathematical constants

Issues and suggestions

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

AUTHOR

JJ Merelo [email protected]

Kevin Pye [email protected]

COPYRIGHT AND LICENSE

Copyright 2016 JJ Merelo

Copyright 2019 Kevin Pye

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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published