Package org.sosy_lab.common.rationals
@CheckReturnValue
@ParametersAreNonnullByDefault
@ReturnValuesAreNonnullByDefault
@FieldsAreNonnullByDefault
package org.sosy_lab.common.rationals
Java-Rationals is a library for working with rationals and extended rationals in Java.
-
ClassDescriptionThis class represents "extended rational": rationals which allow for infinities, negative infinities and undefined numbers.Simple sparse implementation for homogeneous linear expression of the form $\Sigma a_i x_i$, where $x_i$ is a set of variables and $a_i$ is a set of constants.Rational class, throws
IllegalArgumentExceptionon unsupported operations (e.g.