ecl-logo Documentation

NumberOfBonds

NumberOfBonds[structure]numberOfBonds

counts the number of bonds in a structure.

Details

  • Handles both span and motif bond forms.
  • Returns 0 if there are no bonds.
  • Input
    Output
    Attributes
  • Listable

Examples

Basic Examples  (3)

Count bonds of a simple structure with bonds in span form:

Count bonds of a simple structure with bonds in motif form:

Count bonds of a simple structure with no bonds:

Attributes  (1)

Listable  (1)

Count bonds of two simple structures with bonds in span form: