Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.lsmp.djep.matrixJep
Interface MatrixSpecialEvaluationI

All Known Implementing Classes:
  MAssign, MIf, MMap

    public interface MatrixSpecialEvaluationI

If a function requires a special form of evaluation it should implement this interface.

Author:
  Rich Morris Created on 26-Nov-2003

Method Summary
`MatrixValueI` | `evaluate(MatrixNodeI node, MatrixEvaluator visitor, MatrixJep jep)` Returns the result of evaluating this node and the tree below.

Method Detail

### evaluate

    MatrixValueI evaluate(MatrixNodeI node,
                          MatrixEvaluator visitor,
                          MatrixJep jep)
                          throws ParseException

  Returns the result of evaluating this node and the tree below. This method has the responsibility for evaluating the children of the node and it should generally call

       MatrixValueI val = (MatrixValueI) node.jjtGetChild(i).jjtAccept(visitor,null);

  for each child.

  The final results should be copied into the mvalue field of the node using

       MatrixValueI mvalue = node.getMValue();
       mvalue.setEles(res);
       return mvalue;

  Parameters:
    `node` - The top node.
    `visitor` - The parser visitor
    `jep` - The current MatrixJep instance.
  Returns:
    Value after evaluation.
  Throws:
    `ParseException`

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

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