vec_math
Class AbstractVectorDifferentiable

java.lang.Object
  extended by vec_math.AbstractVectorDifferentiable
All Implemented Interfaces:
VectorDifferentiable, VectorFunction

public abstract class AbstractVectorDifferentiable
extends Object
implements VectorDifferentiable

Abstract base class for VectorDifferentiables. Provides the calculation of the Jacobain matrix

   J_ij = df_i/dx_j
   


Constructor Summary
protected AbstractVectorDifferentiable()
          Protected empty constructor.
 
Method Summary
static Matrix getJacobian(VectorDifferentiable f, VectorG at)
          Gets the Jacobian matrix of this vector differentiable.
 Matrix getJacobian(VectorG at)
          Gets the Jacobian matrix of this vector differentiable.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface vec_math.VectorDifferentiable
gradient
 
Methods inherited from interface vec_math.VectorFunction
argumentDimension, evaluate, functionDimension
 

Constructor Detail

AbstractVectorDifferentiable

protected AbstractVectorDifferentiable()
Protected empty constructor.

Method Detail

getJacobian

public Matrix getJacobian(VectorG at)
Gets the Jacobian matrix of this vector differentiable. The matrix returned is a QuadMatrix if VectorFunction.argumentDimension() = VectorFunction.functionDimension().


getJacobian

public static Matrix getJacobian(VectorDifferentiable f,
                                 VectorG at)
Gets the Jacobian matrix of this vector differentiable. The matrix returned is a QuadMatrix if VectorFunction.argumentDimension() = VectorFunction.functionDimension(). It is constructed of VectorFunction.functionDimension() rows, each VectorFunction.argumentDimension() wide.