Model.Sum Method (Term[])

Solver Foundation 3.0

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Computes the sum of the inputs.

Namespace:  Microsoft.SolverFoundation.Services
Assembly:  Microsoft.Solver.Foundation (in Microsoft.Solver.Foundation.dll)

public static Term Sum(
	params Term[] terms
)

Parameters

terms
Type: Microsoft.SolverFoundation.Services.Term[]
A group of decisions, formulas, goals, or constraints.

Return Value

Type: Microsoft.SolverFoundation.Services.Term
The sum of the inputs.

ExceptionCondition
ArgumentException

The operation is not valid for the given inputs.

Show: