Class RationalDivisionPrintRule
- java.lang.Object
-
- com.singularsys.extensions.field.implementations.RationalDivisionPrintRule
-
- All Implemented Interfaces:
PrintVisitor.PrintRulesI,java.io.Serializable
public class RationalDivisionPrintRule extends java.lang.Object implements PrintVisitor.PrintRulesI
A special rule for printing divisions involving rational numbers. This ensure that if we have an expression likex/(3/5)where the 3/5 is aRationalconstant then it is printed asx/(3/5)and notx/3/5.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description RationalDivisionPrintRule()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidappend(Node node, PrintVisitor pv)The method called to append data for the rule.
-
-
-
Method Detail
-
append
public void append(Node node, PrintVisitor pv) throws JepException
Description copied from interface:PrintVisitor.PrintRulesIThe method called to append data for the rule.- Specified by:
appendin interfacePrintVisitor.PrintRulesI- Parameters:
node- the node to printpv- the PrintVisitor- Throws:
JepException- on error
-
-