Uses of Class
de.lmu.ifi.dbs.elki.data.RationalNumber
Packages that use RationalNumber
Package
Description
Basic classes for different data types, database object types and label types.
Linear Algebra package provides classes and computational methods for operations on matrices.
-
Uses of RationalNumber in de.lmu.ifi.dbs.elki.data
Fields in de.lmu.ifi.dbs.elki.data declared as RationalNumberModifier and TypeFieldDescriptionstatic final RationalNumber
RationalNumber.ONE
The canonical representation of 1 as RationalNumber.static final RationalNumber
RationalNumber.ZERO
The canonical representation of zero as RationalNumber.Methods in de.lmu.ifi.dbs.elki.data that return RationalNumberModifier and TypeMethodDescriptionRationalNumber.absValue()
Returns the absolute value of this rational number.RationalNumber.additiveInverse()
Returns the additive inverse of this RationalNumber.RationalNumber.copy()
Provides a deep copy of this RationalNumber.RationalNumber.divided
(RationalNumber number) RationalNumber.minus
(RationalNumber number) RationalNumber.multiplicativeInverse()
Returns the multiplicative inverse of this RationalNumber if it exists.RationalNumber.plus
(RationalNumber number) RationalNumber.times
(RationalNumber number) Methods in de.lmu.ifi.dbs.elki.data with parameters of type RationalNumberModifier and TypeMethodDescriptionint
RationalNumber.compareTo
(RationalNumber o) Compares two RationalNumbers a/b and c/d.RationalNumber.divided
(RationalNumber number) RationalNumber.minus
(RationalNumber number) RationalNumber.plus
(RationalNumber number) RationalNumber.times
(RationalNumber number) -
Uses of RationalNumber in de.lmu.ifi.dbs.elki.math.linearalgebra
Constructors in de.lmu.ifi.dbs.elki.math.linearalgebra with parameters of type RationalNumberModifierConstructorDescriptionMatrix
(RationalNumber[][] q) Constructs a Matrix for a given array of arrays ofRationalNumber
s.