All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class CH.epfl.lcvm.mccc.FunctionConcatenation

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

public class FunctionConcatenation
extends FunctionBase
A function which represents the concatenation of 2 functions which have the same domain. The range is the concatenation of their ranges.


Constructor Index

 o FunctionConcatenation(Function, Function)
Create a concatenation of 2 functions

Method Index

 o call(Matrix)
Returns the value of thw two functions at the specified point concatenated into one array
 o main(String[])
Exercise the class by trying the various functions

Constructors

 o FunctionConcatenation
 public FunctionConcatenation(Function func1,
                              Function func2)
Create a concatenation of 2 functions

Parameters:
func1 - the first function
func2 - the second function

Methods

 o call
 public Matrix call(Matrix x)
Returns the value of thw two functions at the specified point concatenated into one array

Parameters:
value - the point at which tp 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