org.ojalgo.function
Class PreconfiguredParameterFunction<N extends Number>

java.lang.Object
  extended by org.ojalgo.function.PreconfiguredParameterFunction<N>
All Implemented Interfaces:
Function<N>, UnaryFunction<N>

public final class PreconfiguredParameterFunction<N extends Number>
extends Object
implements UnaryFunction<N>

A ParameterFunction with a set parameter.

Author:
apete

Constructor Summary
PreconfiguredParameterFunction(ParameterFunction<N> aFunc, int aParam)
           
 
Method Summary
 double invoke(double aFirstArg)
           
 N invoke(N aFirstArg)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PreconfiguredParameterFunction

public PreconfiguredParameterFunction(ParameterFunction<N> aFunc,
                                      int aParam)
Method Detail

invoke

public double invoke(double aFirstArg)
Specified by:
invoke in interface UnaryFunction<N extends Number>

invoke

public N invoke(N aFirstArg)
Specified by:
invoke in interface UnaryFunction<N extends Number>