Uses of Class
org.clafer.math.Rational
Packages that use Rational
Package
Description
This package provides exact linear algebra over rational numbers: linear
functions, equations and systems, and sparse matrices.
-
Uses of Rational in org.clafer.math
Classes in org.clafer.math that implement interfaces with type arguments of type RationalFields in org.clafer.math declared as RationalModifier and TypeFieldDescriptionstatic final RationalRational.Onestatic final RationalRational.ZeroFields in org.clafer.math with type parameters of type RationalMethods in org.clafer.math that return RationalModifier and TypeMethodDescriptionRational.abs()Rational.add(long addend) Rational.div(long divisor) Matrix.get(int row, int column) MatrixBuilder.get(int row, int column) LinearFunction.getCoefficient(Variable variable) Rational[]LinearFunction.getCoefficients()LinearFunction.getConstant()LinearFunction.getHighBound()LinearFunction.getLowBound()LinearEquation.getRight()Rational.minus()Rational.mul(long multiplier) Rational.sub(long subtrahend) Methods in org.clafer.math that return types with arguments of type RationalMethods in org.clafer.math with parameters of type RationalModifier and TypeMethodDescriptionintstatic LinearFunctionBuilderbooleanRational.isLessThan(Rational o) LinearFunctionBuilder.plusConstant(Rational constant) voidstatic LinearFunctionBuilderConstructors in org.clafer.math with parameters of type RationalModifierConstructorDescriptionLinearEquation(LinearFunction left, LinearEquation.Op op, Rational right) LinearEquation(LinearFunction left, LinearEquation.Op op, Rational right, boolean scale) LinearFunction(Rational constant) LinearFunction(Rational[] coefficients, Variable[] variables, Rational constant) LinearFunction(Rational coefficient, Variable variable) LinearFunction(Rational coefficient, Variable variable, Rational constant)