Constructs a LagrangianGradientFunction object from the given deletate.

Namespace:  CenterSpace.NMath.Analysis
Assembly:  NMath (in NMath.dll) Version: 5.1.0.0

Syntax

C#
public LagrangianGradientFunction(
	int xDimension,
	int yDimension,
	DoubleVector lambda,
	Func<DoubleVector, DoubleVector, DoubleVector> lagrangianGradient
)
Visual Basic (Declaration)
Public Sub New ( _
	xDimension As Integer, _
	yDimension As Integer, _
	lambda As DoubleVector, _
	lagrangianGradient As Func(Of DoubleVector, DoubleVector, DoubleVector) _
)
Visual C++
public:
LagrangianGradientFunction(
	int xDimension, 
	int yDimension, 
	DoubleVector^ lambda, 
	Func<DoubleVector^, DoubleVector^, DoubleVector^>^ lagrangianGradient
)

Parameters

xDimension
Type: System..::.Int32
Dimension of the domain of the lagrangian gradient.
yDimension
Type: System..::.Int32
Dimension of the range of the lagrangian gradient.
lambda
Type: CenterSpace.NMath.Core..::.DoubleVector
The value of lambda.
lagrangianGradient
Type: System..::.Func<(Of <(DoubleVector, DoubleVector, DoubleVector>)>)
A delegate for evaluating the Lagrangian gradient.

See Also