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


Constructor Index

 o FunctionSphere()
Create a default sphere

Method Index

 o call(Matrix)
Returns the value of the function x^2 + y^2 + z^2 - r at the specified point
 o jacobian(Matrix)
Returns the jacobian of the function at the specified point Utilizes the NumericalJacobian class
 o main(String[])
Exercise the class by trying the various functions

Constructors

 o FunctionSphere
 public FunctionSphere()
Create a default sphere

Methods

 o 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
 o 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
 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