Uses of Class
de.lmu.ifi.dbs.elki.data.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
Modifier 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.Modifier 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) Modifier 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
ModifierConstructorDescriptionMatrix
(RationalNumber[][] q) Constructs a Matrix for a given array of arrays ofRationalNumber
s.