Bond
Bond[{idi,idj}]
represents a single chemical bond between atoms with indices idi and idj.
Bond[{idi,idj},type]
represents a chemical bond of the specified type.
Details
- Possible values for type include:
-
"Single" a single bond "Double" a double bond "Triple" a triple bond "Aromatic" a delocalized aromatic bond - Bond can be used as a pattern for functions like MoleculeContainsQ, FindMoleculeSubstructure, BondList, MoleculePlot and MoleculePlot3D.
- When used as a pattern, the following forms can be used:
-
Bond[_,type] any bond of the given type Bond[{Atom[…],_}] a bond containing an atom matching a given pattern Bond[{Atom[…],Atom[…]}] a bond between two atoms with specific patterns Bond[…,type] a bond of a given type
Examples
open allclose allBasic Examples (3)
Scope (1)
Create a pattern for a bond between carbon and a halogen:
Use BondCount to find the number of matching bonds in a molecule:
Wolfram Research (2019), Bond, Wolfram Language function, https://reference.wolfram.com/language/ref/Bond.html.
Text
Wolfram Research (2019), Bond, Wolfram Language function, https://reference.wolfram.com/language/ref/Bond.html.
CMS
Wolfram Language. 2019. "Bond." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/Bond.html.
APA
Wolfram Language. (2019). Bond. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/Bond.html