All Packages Class Hierarchy This Package Previous Next Index
Class CH.epfl.lcvm.mccc.FunctionSphere
java.lang.Object
|
+----CH.epfl.lcvm.mccc.FunctionBase
|
+----CH.epfl.lcvm.mccc.FunctionSphere
- public class FunctionSphere
- extends FunctionBase
- implements HasJacobian
A function which represents a sphere with variable radius
-
FunctionSphere()
- Create a default sphere
-
call(Matrix)
-
Returns the value of the function x^2 + y^2 + z^2 - r
at the specified point
-
jacobian(Matrix)
- Returns the jacobian of the function at the specified point
Utilizes the NumericalJacobian class
-
main(String[])
-
Exercise the class by trying the various functions
FunctionSphere
public FunctionSphere()
- Create a default sphere
call
public Matrix call(Matrix input)
- Returns the value of the function x^2 + y^2 + z^2 - r
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 FunctionBase
jacobian
public Matrix jacobian(Matrix value)
- Returns the jacobian of the function at the specified point
Utilizes the NumericalJacobian class
- Parameters:
- value - the point at which to evaluate the jacobian
- Returns:
- the Jacobian of the function evaluated at the input point
main
public static void main(String argv[])
- Exercise the class by trying the various functions
All Packages Class Hierarchy This Package Previous Next Index