com.singularsys.aa.linear
Class LinearCoefficientExtractor

java.lang.Object
  extended by com.singularsys.aa.linear.LinearCoefficientExtractor

public class LinearCoefficientExtractor
extends java.lang.Object

This class finds the coeffients of a linear expression. It expects the expression to be in simplified form.


Constructor Summary
LinearCoefficientExtractor()
           
 
Method Summary
static LinearExpr getLinearExpr(PolynomialExpr poly)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LinearCoefficientExtractor

public LinearCoefficientExtractor()
Method Detail

getLinearExpr

public static LinearExpr getLinearExpr(PolynomialExpr poly)
                                throws java.lang.IllegalArgumentException
Throws:
java.lang.IllegalArgumentException