Package jscl.math
Class JSCLBoolean
- java.lang.Object
-
- jscl.math.Generic
-
- jscl.math.JSCLInteger
-
- jscl.math.ModularInteger
-
- jscl.math.JSCLBoolean
-
- All Implemented Interfaces:
java.lang.Comparable,jscl.editor.rendering.MathObject,Arithmetic,Field
public class JSCLBoolean extends ModularInteger
-
-
Field Summary
-
Fields inherited from class jscl.math.JSCLInteger
factory
-
-
Constructor Summary
Constructors Constructor Description JSCLBoolean(java.math.BigInteger content)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description JSCLBooleanand(JSCLBoolean bool)JSCLBooleanimplies(JSCLBoolean bool)protected JSCLBooleannewinstance(java.math.BigInteger content)JSCLBooleannot()JSCLBooleanor(JSCLBoolean bool)java.lang.StringtoMathML()static JSCLBooleanvalueOf(boolean value)JSCLBooleanxor(JSCLBoolean bool)-
Methods inherited from class jscl.math.ModularInteger
divide, gcd, gcd, integerDivide, inverse, negate, pow, toString, valueof, valueOf
-
Methods inherited from class jscl.math.JSCLInteger
add, add, antiderivative, compareTo, compareTo, content, degree, derivative, divide, divideAndRemainder, divideAndRemainder, elementary, expand, expressionValue, factorial, factorial, factorize, function, gcd, gcd, integerValue, intValue, isConstant, isPolynomial, mod, modInverse, modPow, multiple, multiply, multiply, nthrt, numeric, phi, pow, powerValue, primitiveRoots, productValue, remainder, remainder, signum, simplify, sqrt, substitute, subtract, subtract, sumValue, valueOf, valueOf, variables, variableValue
-
Methods inherited from class jscl.math.Generic
abs, add, booleanValue, compareTo, divide, equals, gcdAndNormalize, isIdentity, isOne, isZero, multiply, normalize, scm, subtract, vectorValue
-
-
-
-
Method Detail
-
valueOf
public static JSCLBoolean valueOf(boolean value)
-
and
public JSCLBoolean and(JSCLBoolean bool)
-
or
public JSCLBoolean or(JSCLBoolean bool)
-
xor
public JSCLBoolean xor(JSCLBoolean bool)
-
not
public JSCLBoolean not()
-
implies
public JSCLBoolean implies(JSCLBoolean bool)
-
toMathML
public java.lang.String toMathML()
- Specified by:
toMathMLin interfacejscl.editor.rendering.MathObject- Overrides:
toMathMLin classModularInteger
-
newinstance
protected JSCLBoolean newinstance(java.math.BigInteger content)
- Overrides:
newinstancein classModularInteger
-
-