Skip to main content

add

Method of Model.

Overloads

NameDescription
add(const Coefficient coefficient) -> ModelAdds a coefficient to a model.
add(const Interaction interaction) -> ModelAdd an operator and a NeighbourhoodRule to the model
add(const NeighbourhoodRule rule) -> ModelAdd a NeighbourhoodRule to the model that can be referenced when adding interactions or observables.

add(const Coefficient coefficient) -> Model

Adds a coefficient to a model.

Parameters

add(const Interaction interaction) -> Model

Add an operator and a NeighbourhoodRule to the model

Parameters

  • interaction: The interaction to be added to the Model.

add(const NeighbourhoodRule rule) -> Model

Add a NeighbourhoodRule to the model that can be referenced when adding interactions or observables.

Parameters