public class AuxGrad
extends java.lang.Object
Constructor and Description |
---|
AuxGrad(DatanUserFunction muf,
int[] list) |
Modifier and Type | Method and Description |
---|---|
DatanVector |
getGradient(DatanVector xin) |
public AuxGrad(DatanUserFunction muf, int[] list)
muf
- user function which must be an extension of the abstract class DatanUserFunction.list
- array containing the elements of a list specifying which of the n variables are fixed (list element = 0) and
which are adjustable (list element = 1).public DatanVector getGradient(DatanVector xin)
xin
- position in n-space, where gradient is to be computed.