|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use RealNum | |
---|---|
gnu.kawa.xml | Classes for using XML within Kawa. |
gnu.math | Supports various numeric types, including complex numbers, efficient bignums, exact rational numbers, units. |
Uses of RealNum in gnu.kawa.xml |
---|
Subclasses of RealNum in gnu.kawa.xml | |
---|---|
class |
XInteger
An integer that is an instance of a more specific integer type. |
Uses of RealNum in gnu.math |
---|
Subclasses of RealNum in gnu.math | |
---|---|
class |
DFloNum
|
class |
IntFraction
Implementation of exact rational numbers a ratio of two IntNums. |
class |
IntNum
A class for infinite-precision integers. |
class |
RatNum
The abstract class of rational numbers. |
Methods in gnu.math that return RealNum | |
---|---|
static RealNum |
RealNum.add(RealNum x,
RealNum y,
int k)
|
RealNum |
Complex.angle()
|
static RealNum |
RealNum.divide(RealNum x,
RealNum y)
|
RealNum |
Quantity.im()
The value of the imaginary component, as a RealNum. |
RealNum |
DComplex.im()
|
RealNum |
RealNum.im()
|
RealNum |
CComplex.im()
|
RealNum |
RealNum.max(RealNum x)
|
RealNum |
RealNum.min(RealNum x)
|
static RealNum |
RatNum.rationalize(RealNum x,
RealNum y)
Calcaulte the simplest rational between two reals. |
RealNum |
Quantity.re()
The value of the real component, as a RealNum. |
RealNum |
DComplex.re()
|
RealNum |
RealNum.re()
|
RealNum |
DQuantity.re()
|
RealNum |
CComplex.re()
|
RealNum |
RealNum.rneg()
|
static RealNum |
RealNum.times(RealNum x,
RealNum y)
|
RealNum |
IntNum.toInt(int rounding_mode)
|
RealNum |
RealNum.toInt(int rounding_mode)
Converts a real to an integer, according to a specified rounding mode. |
RealNum |
RatNum.toInt(int rounding_mode)
|
Methods in gnu.math with parameters of type RealNum | |
---|---|
static RealNum |
RealNum.add(RealNum x,
RealNum y,
int k)
|
static RealNum |
RealNum.divide(RealNum x,
RealNum y)
|
void |
FixedRealFormat.format(RealNum number,
java.lang.StringBuffer sbuf,
java.text.FieldPosition fpos)
|
static Complex |
Complex.make(RealNum re,
RealNum im)
|
static Quantity |
Quantity.make(RealNum re,
RealNum im,
Unit unit)
|
RealNum |
RealNum.max(RealNum x)
|
RealNum |
RealNum.min(RealNum x)
|
static DComplex |
Complex.polar(RealNum r,
RealNum t)
|
static RealNum |
RatNum.rationalize(RealNum x,
RealNum y)
Calcaulte the simplest rational between two reals. |
static RealNum |
RealNum.times(RealNum x,
RealNum y)
|
java.lang.String |
Unit.toString(RealNum val)
|
Constructors in gnu.math with parameters of type RealNum | |
---|---|
CComplex(RealNum real,
RealNum imag)
|
|
CQuantity(RealNum real,
RealNum imag,
Unit unit)
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |