Hamiltonian<TTermClassification,TTermIndexing,TTermValue>.Add Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| Add(TTermIndexing, TTermValue) |
Adds a term to a Hamiltonian. This method infers the term category from the term index if possible. |
| Add(TTermClassification, TTermIndexing, TTermValue) |
Adds a term to a Hamiltonian. |
Add(TTermIndexing, TTermValue)
Adds a term to a Hamiltonian. This method infers the term category from the term index if possible.
public void Add (TTermIndexing index, TTermValue coefficient);
member this.Add : 'ermIndexing * 'ermValue -> unit
Public Sub Add (index As TTermIndexing, coefficient As TTermValue)
Parameters
- index
- TTermIndexing
Index to term.
- coefficient
- TTermValue
Coefficient of term.
Applies to
Add(TTermClassification, TTermIndexing, TTermValue)
Adds a term to a Hamiltonian.
public void Add (TTermClassification type, TTermIndexing index, TTermValue coefficient);
member this.Add : 'ermClassification * 'ermIndexing * 'ermValue -> unit
Public Sub Add (type As TTermClassification, index As TTermIndexing, coefficient As TTermValue)
Parameters
- type
- TTermClassification
Category of term.
- index
- TTermIndexing
Index to term.
- coefficient
- TTermValue
Coefficient of term.