Package | Description |
---|---|
de.lmu.ifi.dbs.elki.data |
Basic classes for different data types, database object types and label types.
|
de.lmu.ifi.dbs.elki.math.linearalgebra |
Linear Algebra package provides classes and computational methods for operations on matrices.
|
Modifier and Type | Field and Description |
---|---|
static RationalNumber |
RationalNumber.ONE
The canonical representation of 1 as RationalNumber.
|
static RationalNumber |
RationalNumber.ZERO
The canonical representation of zero as RationalNumber.
|
Modifier and Type | Method and Description |
---|---|
RationalNumber |
RationalNumber.absValue()
Returns the absolute value of this rational number.
|
RationalNumber |
RationalNumber.additiveInverse()
Returns the additive inverse of this RationalNumber.
|
RationalNumber |
RationalNumber.copy()
Provides a deep copy of this RationalNumber.
|
RationalNumber |
RationalNumber.divided(RationalNumber number) |
RationalNumber |
RationalNumber.minus(RationalNumber number) |
RationalNumber |
RationalNumber.multiplicativeInverse()
Returns the multiplicative inverse of this RationalNumber if it exists.
|
RationalNumber |
RationalNumber.plus(RationalNumber number) |
RationalNumber |
RationalNumber.times(RationalNumber number) |
Modifier and Type | Method and Description |
---|---|
int |
RationalNumber.compareTo(RationalNumber o)
Compares two RationalNumbers a/b and c/d.
|
RationalNumber |
RationalNumber.divided(RationalNumber number) |
RationalNumber |
RationalNumber.minus(RationalNumber number) |
RationalNumber |
RationalNumber.plus(RationalNumber number) |
RationalNumber |
RationalNumber.times(RationalNumber number) |
Modifier and Type | Method and Description |
---|---|
private RationalNumber[][] |
Matrix.exactGaussElimination()
Perform an exact Gauss-elimination of this Matrix using RationalNumbers to
yield highest possible accuracy.
|
private static RationalNumber[][] |
Matrix.exactGaussElimination(RationalNumber[][] gauss)
Perform recursive Gauss-elimination on the given matrix of RationalNumbers.
|
Modifier and Type | Method and Description |
---|---|
private static RationalNumber[][] |
Matrix.exactGaussElimination(RationalNumber[][] gauss)
Perform recursive Gauss-elimination on the given matrix of RationalNumbers.
|
Constructor and Description |
---|
Matrix(RationalNumber[][] q)
Constructs a Matrix for a given array of arrays of
RationalNumber s. |