All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class CH.epfl.lcvm.mccc.ODEFunctionCircle

java.lang.Object
   |
   +----CH.epfl.lcvm.mccc.ODEFunctionBase
           |
           +----CH.epfl.lcvm.mccc.ODEFunctionCircle

public class ODEFunctionCircle
extends ODEFunctionBase
implements ODEFunctionWithBC
An ODE of the form x' = y y' = -x


Constructor Index

 o ODEFunctionCircle()
Create a default sphere

Method Index

 o call(Matrix, Matrix)
Returns the value of x' = y y' = -x at the specified point
 o callBC(Matrix, Matrix, Matrix)
Returns the value of the boundary conditions
 o getNumBC()
Returns the number of boundary conditions
 o main(String[])
Exercise the class by trying the various functions

Constructors

 o ODEFunctionCircle
 public ODEFunctionCircle()
Create a default sphere

Methods

 o call
 public Matrix call(Matrix input,
                    Matrix parameters)
Returns the value of x' = y y' = -x at the specified point

Parameters:
value - the point at which tp call the function
Returns:
the return value of the function.
Overrides:
call in class ODEFunctionBase
 o callBC
 public Matrix callBC(Matrix x0,
                      Matrix x1,
                      Matrix parameters)
Returns the value of the boundary conditions

Parameters:
x0 - The values at s = 0
x1 - The values at s = 1
parameters - the parameters at which to call the function
Returns:
the return value of the function.
 o getNumBC
 public int getNumBC()
Returns the number of boundary conditions

Returns:
the number of parameters.
 o main
 public static void main(String argv[]) throws MCCCException
Exercise the class by trying the various functions

Throws: MCCCException
In case something fails in the test harness it throws this exception.

All Packages  Class Hierarchy  This Package  Previous  Next  Index