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

Diff for /OpenXM/src/OpenMath/ORG/openxm/tam/CMO_MONOMIAL32.java between version 1.1 and 1.3

version 1.1, 2000/09/12 07:05:06 version 1.3, 2000/12/03 12:40:40
Line 1 
Line 1 
 /**  /**
  * $OpenXM$   * $OpenXM: OpenXM/src/OpenMath/ORG/openxm/tam/CMO_MONOMIAL32.java,v 1.2 2000/09/13 06:32:42 tam Exp $
  */   */
 package ORG.openxm.tam;  package ORG.openxm.tam;
   
Line 26  final public class CMO_MONOMIAL32 extends CMO{
Line 26  final public class CMO_MONOMIAL32 extends CMO{
     return CMO.MONOMIAL32;      return CMO.MONOMIAL32;
   }    }
   
   public void sendByObject(OpenXMconnection os)      public boolean allowQ (int[] datacap) {
                   return CMO.allowQ_tag(datacap, DISCRIMINATOR())
                           && coefficient.allowQ(datacap);
       }
   
     public void sendByObject(OpenXMstream os)
        throws IOException,MathcapViolation{         throws IOException,MathcapViolation{
     os.writeInt(degree.length);      os.writeInt(degree.length);
     for(int i=0;i<degree.length;i++){      for(int i=0;i<degree.length;i++){
Line 35  final public class CMO_MONOMIAL32 extends CMO{
Line 40  final public class CMO_MONOMIAL32 extends CMO{
     coefficient.write(os);      coefficient.write(os);
   }    }
   
   static protected CMO receive(OpenXMconnection is) throws IOException{    static protected CMO receive(OpenXMstream is) throws IOException{
     int n;      int n;
     int[] degree;      int[] degree;
     CMO coefficient;      CMO coefficient;

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

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