Class RealVectorSubFunction

    • Constructor Detail

      • RealVectorSubFunction

        public RealVectorSubFunction​(RealVectorFunction f,
                                     Map<Integer,​Double> fixing)
        Construct a vector-valued sub-function.
        Parameters:
        f - the unrestricted/original function
        fixing - the values held fixed for a subset of variables
    • Method Detail

      • evaluate

        public Vector evaluate​(Vector x)
        Description copied from interface: Function
        Evaluate the function f at x, where x is from the domain.
        Specified by:
        evaluate in interface Function<Vector,​Vector>
        Parameters:
        x - x
        Returns:
        f(x)