Package | Description |
---|---|
gnu.commonlisp.lang | |
gnu.jemacs.lang |
Contains classes to implement the Emacs Lisp language.
|
gnu.kawa.functions | |
gnu.kawa.lispexpr | |
gnu.kawa.xml | |
gnu.math |
Supports various numeric
types, including complex numbers, efficient bignums, exact rational
numbers, units.
|
gnu.xquery.lang | |
kawa.standard |
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) |
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 Complex quantity.
|
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 |
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 |
RatNum
The abstract class of rational numbers.
|
class |
RealNum |
class |
Unit |
Modifier and Type | Method and Description |
---|---|
Numeric |
RealNum.abs() |
Numeric |
Complex.abs() |
Numeric |
Quantity.abs() |
abstract Numeric |
Numeric.abs() |
Numeric |
Numeric.add(java.lang.Object obj) |
Numeric |
DQuantity.add(java.lang.Object y,
int k) |
Numeric |
Duration.add(java.lang.Object y,
int k) |
Numeric |
DFloNum.add(java.lang.Object y,
int k) |
abstract Numeric |
RealNum.add(java.lang.Object obj,
int k) |
Numeric |
IntNum.add(java.lang.Object y,
int k) |
Numeric |
IntFraction.add(java.lang.Object y,
int k) |
Numeric |
Complex.add(java.lang.Object y,
int k) |
Numeric |
Quantity.add(java.lang.Object y,
int k) |
abstract Numeric |
Numeric.add(java.lang.Object obj,
int k)
Return this + k * obj.
|
Numeric |
DateTime.add(java.lang.Object y,
int k) |
Numeric |
DComplex.add(java.lang.Object y,
int k) |
Numeric |
DQuantity.addReversed(Numeric x,
int k) |
Numeric |
DFloNum.addReversed(Numeric x,
int k) |
Numeric |
IntFraction.addReversed(Numeric x,
int k) |
Numeric |
Complex.addReversed(Numeric x,
int k) |
Numeric |
Quantity.addReversed(Numeric x,
int k) |
Numeric |
Numeric.addReversed(Numeric x,
int k)
Calculate x+k&this.
|
Numeric |
DateTime.addReversed(Numeric x,
int k) |
static Numeric |
Numeric.asNumericOrNull(java.lang.Object value) |
Numeric |
Numeric.div_inv()
Return the multiplicative inverse.
|
Numeric |
DQuantity.div(java.lang.Object y) |
Numeric |
Duration.div(java.lang.Object y) |
Numeric |
DFloNum.div(java.lang.Object y) |
abstract Numeric |
RealNum.div(java.lang.Object obj) |
Numeric |
IntNum.div(java.lang.Object y) |
Numeric |
IntFraction.div(java.lang.Object y) |
Numeric |
Complex.div(java.lang.Object y) |
Numeric |
Quantity.div(java.lang.Object y) |
abstract Numeric |
Numeric.div(java.lang.Object obj) |
Numeric |
DComplex.div(java.lang.Object y) |
Numeric |
DQuantity.divReversed(Numeric x) |
Numeric |
DFloNum.divReversed(Numeric x) |
Numeric |
IntFraction.divReversed(Numeric x) |
Numeric |
Complex.divReversed(Numeric x) |
Numeric |
Quantity.divReversed(Numeric x) |
Numeric |
Numeric.divReversed(Numeric x) |
Numeric |
Numeric.mul_ident()
Return the multiplicative identity.
|
Numeric |
DQuantity.mul(java.lang.Object y) |
Numeric |
Duration.mul(java.lang.Object y) |
Numeric |
DFloNum.mul(java.lang.Object y) |
abstract Numeric |
RealNum.mul(java.lang.Object obj) |
Numeric |
IntNum.mul(java.lang.Object y) |
Numeric |
IntFraction.mul(java.lang.Object y) |
Numeric |
Complex.mul(java.lang.Object y) |
Numeric |
Quantity.mul(java.lang.Object y) |
abstract Numeric |
Numeric.mul(java.lang.Object obj) |
Numeric |
DComplex.mul(java.lang.Object y) |
Numeric |
DQuantity.mulReversed(Numeric x) |
Numeric |
Duration.mulReversed(Numeric x) |
Numeric |
DFloNum.mulReversed(Numeric x) |
Numeric |
IntFraction.mulReversed(Numeric x) |
Numeric |
Complex.mulReversed(Numeric x) |
Numeric |
Quantity.mulReversed(Numeric x) |
Numeric |
Numeric.mulReversed(Numeric x) |
Numeric |
DFloNum.neg() |
Numeric |
IntNum.neg() |
Numeric |
IntFraction.neg() |
Numeric |
Complex.neg() |
Numeric |
Quantity.neg() |
abstract Numeric |
Numeric.neg() |
Numeric |
DComplex.neg() |
Numeric |
DFloNum.power(IntNum y) |
Numeric |
Unit.power(IntNum y) |
Numeric |
RatNum.power(IntNum y) |
Numeric |
IntNum.power(IntNum y) |
Numeric |
Numeric.power(IntNum y)
Return this raised to an integer power.
|
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) |
Modifier and Type | Method and Description |
---|---|
static Numeric |
expt.expt(java.lang.Object arg1,
java.lang.Object arg2) |