ConstraintSystem.SumProduct Method
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Performs the sum of the pairwise-product of the inputs.
Namespace: Microsoft.SolverFoundation.Solvers
Assembly: Microsoft.Solver.Foundation (in Microsoft.Solver.Foundation.dll)
Syntax
'Declaration
Public Function SumProduct ( _
inputs1 As CspTerm(), _
inputs2 As CspTerm() _
) As CspTerm
public CspTerm SumProduct(
CspTerm[] inputs1,
CspTerm[] inputs2
)
public:
CspTerm^ SumProduct(
array<CspTerm^>^ inputs1,
array<CspTerm^>^ inputs2
)
member SumProduct :
inputs1:CspTerm[] *
inputs2:CspTerm[] -> CspTerm
public function SumProduct(
inputs1 : CspTerm[],
inputs2 : CspTerm[]
) : CspTerm
Parameters
- inputs1
Type: array<Microsoft.SolverFoundation.Solvers.CspTerm[]
An array of terms.
- inputs2
Type: array<Microsoft.SolverFoundation.Solvers.CspTerm[]
An array of terms.
Return Value
Type: Microsoft.SolverFoundation.Solvers.CspTerm
The sum of the pairwise-product of the inputs.
Remarks
The inputs must be of equal length.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.