class Chem::BondArray

Included Modules

Defined in:

chem/core/bond_array.cr

Constructors

Instance Method Summary

Instance methods inherited from module Indexable(Chem::Bond)

sentence(io : IO, separator : String = ", ", *, pair_separator : String = " and ", tail_separator : String = ", and ", & : T, IO -> ) : Nil
sentence(io : IO, separator : String = ", ", *, pair_separator : String = " and ", tail_separator : String = ", and ") : Nil
sentence(separator : String = ", ", *, pair_separator : String = " and ", tail_separator : String = ", and ", & : T -> ) : String
sentence(separator : String = ", ", *, pair_separator : String = " and ", tail_separator : String = ", and ") : String
sentence

Instance methods inherited from module Enumerable(Chem::Bond)

average(weights : Indexable(Number))
average(weights : Indexable(Number), & : T -> _)
average
, mean
mean(& : T -> _)
mean

Constructor Detail

def self.new(atom : Atom) #

[View source]

Instance Method Detail

def <<(bond : Bond) #

[View source]
def [](atom : Atom) : Bond #

[View source]
def []?(atom : Atom) : Bond | Nil #

[View source]
def add(bond : Bond) : Bond #

[View source]
def add(other : Atom, order : BondOrder = :single) : Bond #

[View source]
def delete(other : Atom) #

[View source]
def delete(bond : Bond) #

[View source]
def size(*args, **options) #

[View source]
def size(*args, **options, &) #

[View source]
def unsafe_fetch(*args, **options) #

[View source]
def unsafe_fetch(*args, **options, &) #

[View source]