XPRSprob.VecMapFunction
- java.lang.Object
-  
  - com.dashoptimization.XPRSprob.AbstractUserFunction
-  
    - com.dashoptimization.XPRSprob.VecMapFunction
 
 
-  
   - Enclosing class:
- XPRSprob
 
 public final class XPRSprob.VecMapFunction extends XPRSprob.AbstractUserFunction AnR^n -> Rfunction.
-  
    
   -  
         Field SummaryModifier and Type Field Description XPRSprob.VecMapFunctorfunctorNumber of input arguments.intnInThe actual function represented by this instance.
 -  
         Constructor SummaryConstructor Description VecMapFunction(XPRSprob prob, java.lang.String name, XPRSprob.VecMapFunctor functor, int nIn)
 -  
         Method SummaryModifier and Type Method Description doublecall(double[] values)Expressioncall(int output, Expression... arguments)Create an expression that represents a symbolic call to this function.doubleevaluate(int output, double[] args)Evaluate this function for the given values.booleanisMultiOutput()Check whether this is a function that produces more than one value for a single call.voidstoreCBException(java.lang.Throwable ex)-  
           Methods inherited from class com.dashoptimization.XPRSprob.AbstractUserFunctioncall, evaluate, getId, getName
 
-  
           
 
-  
         
-  
    
   -  
         Field Detail-  nInpublic final int nIn The actual function represented by this instance.
 -  functorpublic final XPRSprob.VecMapFunctor functor Number of input arguments.
 
-  
 -  
         Constructor Detail-  VecMapFunctionpublic VecMapFunction(XPRSprob prob, java.lang.String name, XPRSprob.VecMapFunctor functor, int nIn) 
 
-  
 -  
         Method Detail-  isMultiOutputpublic boolean isMultiOutput() Check whether this is a function that produces more than one value for a single call.- Specified by:
- 
          isMultiOutputin classXPRSprob.AbstractUserFunction
- Returns:
- 
          trueif the function has more than one output,falseotherwise.
- Since:
- 43.00
 
 -  callpublic double call(double[] values) 
 -  evaluatepublic double evaluate(int output, double[] args)Evaluate this function for the given values.- Specified by:
- 
          evaluatein classXPRSprob.AbstractUserFunction
- Parameters:
- 
          output- Output selector. In case the function returns multiple outputs then this selects which of them to return. Otherwise this argument is ignored. Note that the first output has index 1!
- 
          args- Arguments for the function call.
- Returns:
- The result.
- Since:
- 43.00
 
 -  callpublic Expression call(int output, Expression... arguments) Create an expression that represents a symbolic call to this function.- Specified by:
- 
          callin classXPRSprob.AbstractUserFunction
- Parameters:
- 
          output- If this is a multi-output function then this specifies which output to select. Note that the first output has index 1!
- 
          arguments- Arguments for the function call.
- Returns:
- The expression representing a call to this function.
- Since:
- 43.00
 
 -  storeCBExceptionpublic void storeCBException(java.lang.Throwable ex) 
 
-  
 
-  
         
© 2001-2024 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.
 
