All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class CH.epfl.lcvm.mccc.FunctionFixed

java.lang.Object
   |
   +----CH.epfl.lcvm.mccc.FunctionBase
           |
           +----CH.epfl.lcvm.mccc.FunctionFixed

public class FunctionFixed
extends FunctionBase
A function which represents the input function with some components fixed (and with the correct decrease in the domain of the function)


Constructor Index

 o FunctionFixed(Function, int[], double[])
Create a function with certain components fixed

Method Index

 o call(Matrix)
Returns the value of the function with the fixed components at the specified point
 o main(String[])
Exercise the class by trying the various functions

Constructors

 o FunctionFixed
 public FunctionFixed(Function func,
                      int indices[],
                      double values[])
Create a function with certain components fixed

Parameters:
func - the input function function
indices - An array on indices to hold fixed
values - The values of the above indices

Methods

 o call
 public Matrix call(Matrix x)
Returns the value of the function with the fixed components at the specified point

Parameters:
x - the point at which to call the function
Returns:
the return value of the function.
Overrides:
call in class FunctionBase
 o main
 public static void main(String argv[])
Exercise the class by trying the various functions


All Packages  Class Hierarchy  This Package  Previous  Next  Index