Skip to content

A small Julia package returns the atomic mass of an isotope.

License

Notifications You must be signed in to change notification settings

zhaiyusci/AtomicMass.jl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AtomicMass.jl

A small Julia package returns the atomic mass of an isotope.

Install

To install it, open your Julia RPLE and type

]add AtomicMass.jl

Usage

There are only two exported functions in the package.

using AtomicMass
atomicmass("H")
atomicmass("H2")
atomicmass("H-2")
atomicmass("D") 
atomicmass("p") # Support proton
atomicmass("e") # and electron

atomicnumber("H") # returns 1
atomicnumber("C") # returns 6

About

A small Julia package returns the atomic mass of an isotope.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages