FermiQC / Molecules.jl

Library that handles atom structures as XYZ files and properties derived from it.
MIT License
13 stars 10 forks source link

Chemical formula #9

Open gustavojra opened 3 years ago

gustavojra commented 3 years ago

A function that takes an array of atoms and return a string representation of the molecule is desired for printing purposes!

julia> chemical_formula(atoms)
H2O

Note: there are symbols for lower case numbers. See BasisFunction