All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class CH.epfl.lcvm.mccc.FunctionBase

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

public abstract class FunctionBase
extends Object
implements Function
A base abtract class for a function which takes care of the domain and range accessors.

See Also:
Function

Variable Index

 o domain_
 o range_

Method Index

 o call(Matrix)
Returns the value of the function at the specified point
 o getDomain()
Returns the dimension of the domain of the function
 o getRange()
Returns the dimension of the range of the function

Variables

 o domain_
 protected int domain_
 o range_
 protected int range_

Methods

 o call
 public abstract Matrix call(Matrix value)
Returns the value of the function at the specified point

Parameters:
value - the point at which tp call the function
Returns:
the return value of the function.
 o getRange
 public int getRange()
Returns the dimension of the range of the function

Returns:
the dimension of the range of the function.
 o getDomain
 public int getDomain()
Returns the dimension of the domain of the function

Returns:
the dimension of the domain of the function.

All Packages  Class Hierarchy  This Package  Previous  Next  Index