edu.jas.arith
Interface Coefficient
- All Known Implementing Classes:
- BigComplex, BigInteger, BigQuaternion, BigRational
public interface Coefficient
Coefficient interface for use with the polynomial classes.
BigRational and BigInteger implement this interface.
ONE
static final Coefficient ONE
ZERO
static final Coefficient ZERO
isZERO
boolean isZERO()
isONE
boolean isONE()
fromInteger
Coefficient fromInteger(java.math.BigInteger a)
fromInteger
Coefficient fromInteger(long a)
compareTo
int compareTo(java.lang.Object b)
signum
int signum()
add
Coefficient add(Coefficient S)
subtract
Coefficient subtract(Coefficient S)
negate
Coefficient negate()
abs
Coefficient abs()
random
Coefficient random(int n)
divide
Coefficient divide(Coefficient S)
multiply
Coefficient multiply(Coefficient S)
inverse
Coefficient inverse()