version 1.1, 2000/09/12 07:05:06 |
version 1.3, 2000/12/03 12:40:40 |
|
|
/** |
/** |
* $OpenXM$ |
* $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 48 final public class CMO_POLYNOMIAL_IN_ONE_VARIABLE exte |
|
Line 48 final public class CMO_POLYNOMIAL_IN_ONE_VARIABLE exte |
|
return CMO.POLYNOMIAL_IN_ONE_VARIABLE; |
return CMO.POLYNOMIAL_IN_ONE_VARIABLE; |
} |
} |
|
|
protected void sendByObject(OpenXMconnection os) |
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) |
throws IOException,MathcapViolation{ |
throws IOException,MathcapViolation{ |
int m = degrees.length; |
int m = degrees.length; |
|
|
Line 60 final public class CMO_POLYNOMIAL_IN_ONE_VARIABLE exte |
|
Line 72 final public class CMO_POLYNOMIAL_IN_ONE_VARIABLE exte |
|
} |
} |
} |
} |
|
|
static protected CMO receive(OpenXMconnection is) throws IOException{ |
static protected CMO receive(OpenXMstream is) throws IOException{ |
int variable; |
int variable; |
int[] degrees; |
int[] degrees; |
CMO[] coefficients; |
CMO[] coefficients; |