







|
| Optimization Framework |
| Expression..::..Sum Method (Int32, Int32, Func<(Of <(<'Int32, Term>)>)>) |
| Expression Class See Also Send Feedback |
Sums the specified range of terms.
Namespace: Optimization
Assembly: Optimization.Framework (in Optimization.Framework.dll) Version: 0.3.1036.0
Syntax
| C# |
|---|
public static Expression Sum( int start, int count, Func<int, Term> selector ) |
| Visual Basic |
|---|
Public Shared Function Sum ( _ start As Integer, _ count As Integer, _ selector As Func(Of Integer, Term) _ ) As Expression |
| Visual C++ |
|---|
public: static Expression^ Sum( int start, int count, Func<int, Term^>^ selector ) |
Parameters
- start
- Type: System..::..Int32
The start.
- count
- Type: System..::..Int32
The count.
- selector
- Type: System..::..Func<(Of <(<'Int32, Term>)>)>
The selector.
Return Value
[Missing <returns> documentation for "M:Optimization.Expression.Sum(System.Int32,System.Int32,System.Func{System.Int32,Optimization.Term})"]
Contracts
| Requires |
|---|
selector != null |
count >= 0 |
start >= 0 |
start + count - 1 <= int.MaxValue |
| Ensures |
|---|
(Object)Contract.Result<Expression>() != null |
