[BACK]Return to CMO_POLYNOMIAL_IN_ONE_VARIABLE.java CVS log [TXT][DIR] Up to [local] / OpenXM / src / OpenMath / ORG / openxm / tam

Diff for /OpenXM/src/OpenMath/ORG/openxm/tam/CMO_POLYNOMIAL_IN_ONE_VARIABLE.java between version 1.2 and 1.3

version 1.2, 2000/09/13 06:32:43 version 1.3, 2000/12/03 12:40:40
Line 1 
Line 1 
 /**  /**
  * $OpenXM: OpenXM/src/OpenMath/ORG/openxm/tam/CMO_POLYNOMIAL_IN_ONE_VARIABLE.java,v 1.1 2000/09/12 07:05:06 tam Exp $   * $OpenXM: OpenXM/src/OpenMath/ORG/openxm/tam/CMO_POLYNOMIAL_IN_ONE_VARIABLE.java,v 1.2 2000/09/13 06:32:43 tam Exp $
  */   */
 package ORG.openxm.tam;  package ORG.openxm.tam;
   
Line 47  final public class CMO_POLYNOMIAL_IN_ONE_VARIABLE exte
Line 47  final public class CMO_POLYNOMIAL_IN_ONE_VARIABLE exte
   public int DISCRIMINATOR(){    public int DISCRIMINATOR(){
     return CMO.POLYNOMIAL_IN_ONE_VARIABLE;      return CMO.POLYNOMIAL_IN_ONE_VARIABLE;
   }    }
   
       public boolean allowQ (int[] datacap) {
                   if(CMO.allowQ_tag(datacap, DISCRIMINATOR())) {
                           for (int j=0; j < coefficients.length; j++) {
                                   if (!coefficients[j].allowQ(datacap)) {
                                           return false;
                                   }
                           }
                           return true;
           }
           return false;
       }
   
   protected void sendByObject(OpenXMstream os)    protected void sendByObject(OpenXMstream os)
        throws IOException,MathcapViolation{         throws IOException,MathcapViolation{

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>