| Package | Description |
|---|---|
| gnu.commonlisp.lang | |
| gnu.jemacs.lang |
Contains classes to implement the Emacs Lisp language.
|
| gnu.kawa.functions |
Various core run-time functions and operators.
|
| gnu.kawa.lispexpr |
Support classes for compiling and running Lisp languages.
|
| gnu.kawa.xml |
Classes for using XML within Kawa.
|
| gnu.math |
Supports various numeric
types, including complex numbers, efficient bignums, exact rational
numbers, units.
|
| gnu.xquery.lang |
| Modifier and Type | Method and Description |
|---|---|
static Numeric |
CommonLisp.asNumber (java.lang.Object arg) |
| Modifier and Type | Method and Description |
|---|---|
static Numeric |
ELisp.asNumber (java.lang.Object arg) |
| Modifier and Type | Method and Description |
|---|---|
static Numeric |
Arithmetic.asNumeric (java.lang.Object value) |
static Numeric |
Expt.expt (java.lang.Object arg1,
java.lang.Object arg2) |
| Modifier and Type | Method and Description |
|---|---|
static Numeric |
LangObjType.coerceNumeric (java.lang.Object value) |
| 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 |
BaseUnit
A primitive Unit of measurement (such as a meter).
|
class |
CComplex
General Cartesian Complex number.
|
class |
Complex |
class |
CQuantity
General Cartesian Quaternion quantity.
|
class |
CQuaternion
General Cartesian Quaternion number (a four-dimensional extension
of complex numbers).
|
class |
DateTime
Represents a date and/or time.
|
class |
DComplex
A complex number using rectangular (Cartesian) plain double values.
|
class |
DFloNum |
class |
DQuantity
A Quantity represented as the product of a plain double and a Unit.
|
class |
DQuaternion
A quaternion number using plain double values.
|
class |
Duration |
class |
IntFraction
Implementation of exact rational numbers a ratio of two IntNums.
|
class |
IntNum
A class for infinite-precision integers.
|
class |
NamedUnit
A Unit that has a name.
|
class |
Quantity
A quantity with a unit.
|
class |
Quaternion
A quaternion is a hypercomplex number of the form w + xi + yj + zk
where w, x, y, and k are real, and i, j, and k are imaginary units
which satisfy i^2 = j^2 = k^2 = ijk = -1.
|
class |
RatNum
The abstract class of rational numbers.
|
class |
RealNum |
class |
Unit |
| Modifier and Type | Method and Description |
|---|---|
abstract Numeric |
Numeric.abs () |
Numeric |
Complex.abs () |
Numeric |
Quaternion.abs () |
Numeric |
Quantity.abs () |
Numeric |
RealNum.abs () |
Numeric |
Numeric.add (java.lang.Object obj) |
Numeric |
IntFraction.add (java.lang.Object y,
int k) |
Numeric |
DQuaternion.add (java.lang.Object y,
int k) |
abstract Numeric |
Numeric.add (java.lang.Object obj,
int k)
Return this + k * obj.
|
Numeric |
DQuantity.add (java.lang.Object y,
int k) |
Numeric |
IntNum.add (java.lang.Object y,
int k) |
Numeric |
Complex.add (java.lang.Object y,
int k) |
Numeric |
DateTime.add (java.lang.Object y,
int k) |
Numeric |
Quaternion.add (java.lang.Object y,
int k) |
Numeric |
Quantity.add (java.lang.Object y,
int k) |
abstract Numeric |
RealNum.add (java.lang.Object obj,
int k) |
Numeric |
DComplex.add (java.lang.Object y,
int k) |
Numeric |
DFloNum.add (java.lang.Object y,
int k) |
Numeric |
Duration.add (java.lang.Object y,
int k) |
Numeric |
IntFraction.addReversed (Numeric x,
int k) |
Numeric |
Numeric.addReversed (Numeric x,
int k)
Calculate
x+k&this. |
Numeric |
DQuantity.addReversed (Numeric x,
int k) |
Numeric |
Complex.addReversed (Numeric x,
int k) |
Numeric |
DateTime.addReversed (Numeric x,
int k) |
Numeric |
Quaternion.addReversed (Numeric x,
int k) |
Numeric |
Quantity.addReversed (Numeric x,
int k) |
Numeric |
DFloNum.addReversed (Numeric x,
int k) |
static Numeric |
Numeric.asNumericOrNull (java.lang.Object value) |
Numeric |
Numeric.div_inv ()
Return the multiplicative inverse.
|
Numeric |
IntFraction.div (java.lang.Object y) |
Numeric |
DQuaternion.div (java.lang.Object y) |
abstract Numeric |
Numeric.div (java.lang.Object obj) |
Numeric |
DQuantity.div (java.lang.Object y) |
Numeric |
IntNum.div (java.lang.Object y) |
Numeric |
Complex.div (java.lang.Object y) |
Numeric |
Quaternion.div (java.lang.Object y) |
Numeric |
Quantity.div (java.lang.Object y) |
abstract Numeric |
RealNum.div (java.lang.Object obj) |
Numeric |
DComplex.div (java.lang.Object y) |
Numeric |
DFloNum.div (java.lang.Object y) |
Numeric |
Duration.div (java.lang.Object y) |
Numeric |
IntFraction.divReversed (Numeric x) |
Numeric |
Numeric.divReversed (Numeric x) |
Numeric |
DQuantity.divReversed (Numeric x) |
Numeric |
Complex.divReversed (Numeric x) |
Numeric |
Quaternion.divReversed (Numeric x) |
Numeric |
Quantity.divReversed (Numeric x) |
Numeric |
DFloNum.divReversed (Numeric x) |
Numeric |
Numeric.mul_ident ()
Return the multiplicative identity.
|
Numeric |
IntFraction.mul (java.lang.Object y) |
Numeric |
DQuaternion.mul (java.lang.Object y) |
abstract Numeric |
Numeric.mul (java.lang.Object obj) |
Numeric |
DQuantity.mul (java.lang.Object y) |
Numeric |
IntNum.mul (java.lang.Object y) |
Numeric |
Complex.mul (java.lang.Object y) |
Numeric |
Quaternion.mul (java.lang.Object y) |
Numeric |
Quantity.mul (java.lang.Object y) |
abstract Numeric |
RealNum.mul (java.lang.Object obj) |
Numeric |
DComplex.mul (java.lang.Object y) |
Numeric |
DFloNum.mul (java.lang.Object y) |
Numeric |
Duration.mul (java.lang.Object y) |
Numeric |
IntFraction.mulReversed (Numeric x) |
Numeric |
Numeric.mulReversed (Numeric x) |
Numeric |
DQuantity.mulReversed (Numeric x) |
Numeric |
Complex.mulReversed (Numeric x) |
Numeric |
Quaternion.mulReversed (Numeric x) |
Numeric |
Quantity.mulReversed (Numeric x) |
Numeric |
DFloNum.mulReversed (Numeric x) |
Numeric |
Duration.mulReversed (Numeric x) |
Numeric |
IntFraction.neg () |
Numeric |
DQuaternion.neg () |
abstract Numeric |
Numeric.neg () |
Numeric |
IntNum.neg () |
Numeric |
Complex.neg () |
Numeric |
Quaternion.neg () |
Numeric |
Quantity.neg () |
Numeric |
DComplex.neg () |
Numeric |
DFloNum.neg () |
Numeric |
Unit.power (IntNum y) |
Numeric |
RatNum.power (IntNum y) |
Numeric |
Numeric.power (IntNum y)
Return this raised to an integer power.
|
Numeric |
IntNum.power (IntNum y) |
Numeric |
DFloNum.power (IntNum y) |
Numeric |
Numeric.sub (java.lang.Object obj) |
Numeric |
Numeric.toExact () |
Numeric |
Numeric.toInexact () |
| Modifier and Type | Method and Description |
|---|---|
static Numeric |
XQuery.asNumber (java.lang.Object arg) |