org.lsmp.djep.matrixJep
Class MatrixVariableFactory

java.lang.Object
  extended byorg.nfunk.jep.VariableFactory
      extended byorg.lsmp.djep.xjep.XVariableFactory
          extended byorg.lsmp.djep.djep.DVariableFactory
              extended byorg.lsmp.djep.matrixJep.MatrixVariableFactory

public class MatrixVariableFactory
extends DVariableFactory

Allows creation of matrix aware variables.

Author:
Rich Morris Created on 19-Dec-2003

Constructor Summary
MatrixVariableFactory()
           
 
Method Summary
 PartialDerivative createDerivative(DVariable var, java.lang.String[] dnames, Node eqn)
          create a derivative
 Variable createVariable(java.lang.String name)
          Create a variable with a given value.
 Variable createVariable(java.lang.String name, java.lang.Object value)
          Create a variable with a given value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MatrixVariableFactory

public MatrixVariableFactory()
Method Detail

createDerivative

public PartialDerivative createDerivative(DVariable var,
                                          java.lang.String[] dnames,
                                          Node eqn)
create a derivative

Overrides:
createDerivative in class DVariableFactory

createVariable

public Variable createVariable(java.lang.String name,
                               java.lang.Object value)
Create a variable with a given value.

Overrides:
createVariable in class DVariableFactory

createVariable

public Variable createVariable(java.lang.String name)
Create a variable with a given value.

Overrides:
createVariable in class DVariableFactory


http://www.singularsys.com/jep Copyright © 2004 Singular Systems