JMSLTM Numerical Library 4.0

com.imsl.math
Interface MinConNonlin.Function

All Known Subinterfaces:
MinConNonlin.Gradient
Enclosing interface:
com.imsl.math.MinConNonlin

public static interface MinConNonlin.Function

Public interface for the user supplied function to the MinConNonlin object.


Method Summary
 double f(int mTotalConstraints, int mEqualityConstraints, double[] x, boolean[] active, double[] g)
          Returns the value of the function at the given point.
 

Method Detail

f

public double f(int mTotalConstraints,
                int mEqualityConstraints,
                double[] x,
                boolean[] active,
                double[] g)
Returns the value of the function at the given point.

Parameters:
mTotalConstraints - an input int value specifying the total number of constraints.
mEqualityConstraints - an input int value specyfying the number of equality constraints
x - an input double array, the point at which the function is to be evaluated
active - an input boolean array, specifying the active constraints
g - an output double array containing the values of the constraints at point x.
Returns:
a double, the value of the function at x

JMSLTM Numerical Library 4.0

Copyright 1970-2006 Visual Numerics, Inc.
Built June 1 2006.