ConnectedMoleculeQ

ConnectedMoleculeQ[mol]

returns True if the atoms in mol form are connected by bonds, and False otherwise.

Details

  • A molecule is connected if there is a path between every pair of atoms.
  • ConnectedMoleculeQ will return False for salts and van der Waals molecules.

Examples

Basic Examples  (1)

Test whether a salt is connected:

Test whether the parent acid is connected:

Wolfram Research (2019), ConnectedMoleculeQ, Wolfram Language function, https://reference.wolfram.com/language/ref/ConnectedMoleculeQ.html.

Text

Wolfram Research (2019), ConnectedMoleculeQ, Wolfram Language function, https://reference.wolfram.com/language/ref/ConnectedMoleculeQ.html.

CMS

Wolfram Language. 2019. "ConnectedMoleculeQ." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/ConnectedMoleculeQ.html.

APA

Wolfram Language. (2019). ConnectedMoleculeQ. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/ConnectedMoleculeQ.html

BibTeX

@misc{reference.wolfram_2024_connectedmoleculeq, author="Wolfram Research", title="{ConnectedMoleculeQ}", year="2019", howpublished="\url{https://reference.wolfram.com/language/ref/ConnectedMoleculeQ.html}", note=[Accessed: 21-November-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_connectedmoleculeq, organization={Wolfram Research}, title={ConnectedMoleculeQ}, year={2019}, url={https://reference.wolfram.com/language/ref/ConnectedMoleculeQ.html}, note=[Accessed: 21-November-2024 ]}