@Override public void visit(InnerProduct node) { handleBinary(node.getLeft(), node.getRight()); }
@Override public void visit(InnerProduct node) { // just do nothing, because only MulitvectorComponent is important node.getLeft().accept(this); node.getRight().accept(this); }
@Override public void visit(InnerProduct node) { node.getLeft().accept(this); node.getRight().accept(this); }
/** * Converts this node into a human readable string representation. * @return Returns the string "<code>left . right</code>" where left and right are the two operands converted * to strings using their toString methods. */ public String toString() { return bracketComposite(getLeft()) + " . " + bracketComposite(getRight()); }
@Override public void visit(InnerProduct node) { result = null; node.getLeft().accept(this); Expression leftResult = result; node.getRight().accept(this); Expression rightResult = result; if (leftResult != null || rightResult != null) result = new InnerProduct(leftResult, rightResult); }
@Override public Expression copy() { return new InnerProduct(getLeft().copy(), getRight().copy()); }