Creates and returns a linear expression representing the scalar product of the provided values with the provided variables.

Namespace: ILOG.Concert
Assembly: ILOG.Concert (in ILOG.Concert.dll) Version: 22.1.0.0

Syntax

C#
ILinearNumExpr ScalProd(
	INumVar[] vars,
	int[] coefs
)
Visual Basic
Function ScalProd ( _
	vars As INumVar(), _
	coefs As Integer() _
) As ILinearNumExpr

Parameters

vars
Type: array<ILOG.Concert..::..INumVar>[]()[][]
The variables involved in the new scalar product expression.
coefs
Type: array<System..::..Int32>[]()[][]
The values involved in the new scalar product expression.

Return Value

The new linear expression.

See Also