Package | Description |
---|---|
gnu.kawa.xml |
Classes for using XML within Kawa.
|
gnu.math |
Supports various numeric
types, including complex numbers, efficient bignums, exact rational
numbers, units.
|
Modifier and Type | Class and Description |
---|---|
class |
XInteger
An integer that is an instance of a more specific integer type.
|
Modifier and Type | Class and Description |
---|---|
class |
CComplex
General Cartesian Complex number.
|
class |
Complex |
class |
CQuaternion
General Cartesian Quaternion number (a four-dimensional extension
of complex numbers).
|
class |
DComplex
A complex number using rectangular (Cartesian) plain double values.
|
class |
DFloNum |
class |
DQuaternion
A quaternion number using plain double values.
|
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.
|
class |
RealNum |
Modifier and Type | Method and Description |
---|---|
static Quaternion |
Quaternion.add(Quaternion x,
Quaternion y,
int k) |
Quaternion |
Complex.conjugate() |
Quaternion |
Quaternion.conjugate() |
Quaternion |
RealNum.conjugate() |
Quaternion |
Quaternion.cos() |
static Quaternion |
DQuaternion.cos(double x_re,
double x_im,
double x_jm,
double x_km) |
static Quaternion |
DQuaternion.div(double x_re,
double x_im,
double x_jm,
double x_km,
double y_re,
double y_im,
double y_jm,
double y_km) |
static Quaternion |
Quaternion.divide(Quaternion x,
Quaternion y) |
Quaternion |
Quaternion.exp() |
static Quaternion |
DQuaternion.exp(double x_re,
double x_im,
double x_jm,
double x_km) |
Quaternion |
Quaternion.log() |
static Quaternion |
DQuaternion.log(double x_re,
double x_im,
double x_jm,
double x_km) |
static Quaternion |
Quaternion.make(double re,
double im,
double jm,
double km) |
static Quaternion |
Quaternion.make(RealNum re,
RealNum im,
RealNum jm,
RealNum km) |
static Quaternion |
Quaternion.neg(Quaternion x) |
Quaternion |
Quaternion.number() |
Quaternion |
CQuantity.number() |
abstract Quaternion |
Quantity.number() |
static Quaternion |
Quaternion.polar(double r,
double t,
double u,
double v) |
static Quaternion |
Quaternion.polar(RealNum r,
RealNum t,
RealNum u,
RealNum v) |
static Quaternion |
DQuaternion.power(double x_re,
double x_im,
double x_jm,
double x_km,
double y_re,
double y_im,
double y_jm,
double y_km) |
static Quaternion |
Quaternion.power(Quaternion x,
Quaternion y) |
Quaternion |
Quaternion.sin() |
static Quaternion |
DQuaternion.sin(double x_re,
double x_im,
double x_jm,
double x_km) |
Quaternion |
Quaternion.sqrt() |
static Quaternion |
DQuaternion.sqrt(double x_re,
double x_im,
double x_jm,
double x_km) |
Quaternion |
Quaternion.tan() |
static Quaternion |
DQuaternion.tan(double x_re,
double x_im,
double x_jm,
double x_km) |
static Quaternion |
Quaternion.times(Quaternion x,
Quaternion y) |
Quaternion |
DQuaternion.toExact() |
Quaternion |
Quaternion.toExact() |
Quaternion |
Quaternion.toInexact() |
Quaternion |
Complex.unitQuaternion() |
Quaternion |
Quaternion.unitQuaternion() |
Quaternion |
RealNum.unitQuaternion() |
Quaternion |
Complex.unitVector() |
Quaternion |
Quaternion.unitVector() |
Quaternion |
RealNum.unitVector() |
Quaternion |
Complex.vectorPart() |
Quaternion |
Quaternion.vectorPart() |
Quaternion |
RealNum.vectorPart() |
Modifier and Type | Method and Description |
---|---|
static Quaternion |
Quaternion.add(Quaternion x,
Quaternion y,
int k) |
static int |
Quaternion.compare(Quaternion x,
Quaternion y) |
static Quaternion |
Quaternion.divide(Quaternion x,
Quaternion y) |
static boolean |
Quaternion.equals(Quaternion x,
Quaternion y) |
static Quantity |
Quantity.make(Quaternion x,
Unit u) |
static Quaternion |
Quaternion.neg(Quaternion x) |
static Quaternion |
Quaternion.power(Quaternion x,
Quaternion y) |
static Quaternion |
Quaternion.times(Quaternion x,
Quaternion y) |
Constructor and Description |
---|
CQuantity(Quaternion num,
Unit unit) |