XPRSprob.MultiMapDeltaFunction
- java.lang.Object
-
- com.dashoptimization.XPRSprob.AbstractUserFunction
-
- com.dashoptimization.XPRSprob.MultiMapDeltaFunction
-
- Enclosing class:
- XPRSprob
public final class XPRSprob.MultiMapDeltaFunction extends XPRSprob.AbstractUserFunction
AnR^n -> R^m
function that also provides partial derivatives.
-
-
Field Summary
Modifier and Type Field and Description XPRSprob.MultiMapDeltaFunctor
functor
The actual function represented by this instance.int
nIn
Number of input arguments.int
nOut
Number of output arguments.
-
Constructor Summary
Constructor and Description MultiMapDeltaFunction(XPRSprob prob, java.lang.String name, XPRSprob.MultiMapDeltaFunctor functor, int nIn, int nOut)
-
Method Summary
Modifier and Type Method and Description double[]
call(double[] values, double[] deltas, double[] partials)
Call the underlying functor.void
storeCBException(java.lang.Throwable ex)
-
Methods inherited from class com.dashoptimization.XPRSprob.AbstractUserFunction
getId, getName
-
-
-
-
Field Detail
-
functor
public final XPRSprob.MultiMapDeltaFunctor functor
The actual function represented by this instance.
-
nIn
public final int nIn
Number of input arguments.
-
nOut
public final int nOut
Number of output arguments.
-
-
Constructor Detail
-
MultiMapDeltaFunction
public MultiMapDeltaFunction(XPRSprob prob, java.lang.String name, XPRSprob.MultiMapDeltaFunctor functor, int nIn, int nOut)
-
-
Method Detail
-
call
public double[] call(double[] values, double[] deltas, double[] partials)
Call the underlying functor.- Parameters:
-
values
- Input values. -
deltas
- Delta estimates, non-zero if partial derivative required -
partials
- Partial derivatives are returned here, first thenIn
partials for the first argument, then thenIn
partials for the next argument, etc., until thenOut
-th argument. - Returns:
- The computed values (one for each input value).
-
storeCBException
public void storeCBException(java.lang.Throwable ex)
-
-
© 2001-2022 Fair Isaac Corporation. All rights reserved. This documentation is the property of Fair Isaac Corporation (“FICO”). Receipt or possession of this documentation does not convey rights to disclose, reproduce, make derivative works, use, or allow others to use it except solely for internal evaluation purposes to determine whether to purchase a license to the software described in this documentation, or as otherwise set forth in a written software license agreement between you and FICO (or a FICO affiliate). Use of this documentation and the software described in it must conform strictly to the foregoing permitted uses, and no other use is permitted.