Share via


Model.Sum Method (array<Term[])

[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)

Syntax

'Declaration
Public Shared Function Sum ( _
    ParamArray terms As Term() _
) As Term
public static Term Sum(
    params Term[] terms
)
public:
static Term^ Sum(
    ... array<Term^>^ terms
)
static member Sum : 
        terms:Term[] -> Term 
public static function Sum(
    ... terms : Term[]
) : Term

Parameters

Return Value

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

Exceptions

Exception Condition
ArgumentException

The operation is not valid for the given inputs.

.NET Framework Security

See Also

Reference

Model Class

Sum Overload

Microsoft.SolverFoundation.Services Namespace