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.
-
FunctionConcatenation(Function, Function)
- Create a concatenation of 2 functions
-
call(Matrix)
-
Returns the value of thw two functions
at the specified point concatenated into one array
-
main(String[])
-
Exercise the class by trying the various functions
FunctionConcatenation
public FunctionConcatenation(Function func1,
Function func2)
- Create a concatenation of 2 functions
- Parameters:
- func1 - the first function
- func2 - the second function
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
main
public static void main(String argv[])
- Exercise the class by trying the various functions
All Packages Class Hierarchy This Package Previous Next Index