Skip to content

Mrexsp/p6-math-constants

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 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

Issues and suggestions

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

AUTHOR

JJ Merelo [email protected]

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.

About

A few Mathematics and Physics constants

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Other 100.0%