Functions to support chemistry
Name | Description |
---|---|
charge | Return the charge of a species given its chemical formula |
countElements | Return the number of elements in a chemical formula |
readElement | Return the symbol, coefficient, and charge of an element in a chemical formula |
readSpecies | Return the symbols and coefficients of the elements in a chemical formula |
stoich | Return stoichiometric coefficients of a reaction based on chemical formulas of reacting species |