public static IMolecularFormula removeElement ( IMolecularFormula formula , IElement element ) { for ( IIsotope isotope : getIsotopes ( formula , element ) ) { formula . removeIsotope ( isotope ) ; } return formula ; }
Removes all isotopes from a given element in the MolecularFormula .