|
Orbital library | |||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Arithmetic | |
---|---|
orbital.awt | Extends the core Java AWT Package and includes some Beans and GUI add-ons as well as generic customizers. |
orbital.math | Defines arithmetic objects and provides mathematical algorithms. |
orbital.math.functional | Contains mathematical functors and extended functional operations. |
orbital.moon.logic | Contains implementations of some logics as well as a logic and mathematical expression parser. |
Uses of Arithmetic in orbital.awt |
---|
Methods in orbital.awt with parameters of type Arithmetic | |
---|---|
protected void |
Plot2D.setWindow(Arithmetic minxo,
Arithmetic minyo,
Arithmetic maxxo,
Arithmetic maxyo)
|
Uses of Arithmetic in orbital.math |
---|
Subinterfaces of Arithmetic in orbital.math | |
---|---|
interface |
Complex
Representation of a complex number a + i*b∈C. |
interface |
Euclidean
Euclidean ring interface. |
interface |
Fraction
Representation of a fraction a⁄s ∈ S-1M = MS. |
interface |
Integer
Representation of an integer number k∈Z. |
interface |
Matrix
Represents a matrix of any dimension n×m. |
interface |
Polynomial
Polynomial p∈R[S] := R(S). |
interface |
Quotient
Quotient represents an (algebraic) equivalence class ā=ã=[a]∈M/~. |
interface |
Rational
Representation of a rational number a⁄s ∈ Q. |
interface |
Real
Representation of a real number a∈R. |
interface |
Scalar
Abstraction of all scalar arithmetic number objects. |
interface |
Symbol
Represents an algebraic or transcendental symbol. |
interface |
Tensor
Represents a tensor t∈Rn0×n1×…×nr-1 of dimensions n0×n1×…×nr-1 and rank r. |
interface |
UnivariatePolynomial
(Univariate) polynomial p∈R[X]. |
interface |
Vector
Represents a mathematical vector of any dimension n. |
Methods in orbital.math that return Arithmetic | |
---|---|
Arithmetic |
Arithmetic.add(Arithmetic b)
Adds an arithmetic object to this returning the result. |
static Arithmetic |
Evaluations.average(Matrix M)
Deprecated. Returns the average of all elements in this Matrix. |
static Arithmetic |
Evaluations.average(Vector v)
Deprecated. Returns the average of all elements in this Vector. |
Arithmetic |
Fraction.denominator()
Returns the denominator component. |
Arithmetic |
Matrix.det()
Returns the determinant of the matrix representation. |
Arithmetic |
LUDecomposition.det()
The determinant of A. |
Arithmetic |
Arithmetic.divide(Arithmetic b)
Divides this by an arithmetic object returning the result. |
Arithmetic |
Polynomial.get(Arithmetic i)
Get the i-th coefficient. |
Arithmetic |
Vector.get(int i)
Returns the value at the component specified by index. |
Arithmetic |
UnivariatePolynomial.get(int i)
Get the coefficient of Xi. |
Arithmetic |
Tensor.get(int[] i)
Get the component specified by index. |
Arithmetic |
Matrix.get(int i,
int j)
Returns the component value at a position (i|j). |
Arithmetic[] |
UnivariatePolynomial.getCoefficients()
Returns an array containing all the coefficients of this polynomial. |
static Arithmetic |
NumericalAlgorithms.integrate(Function f,
Arithmetic a,
Arithmetic b)
Returns ≈ ∫ab f dx. |
static Arithmetic |
MathUtilities.integrate(Function f,
Arithmetic a,
Arithmetic b)
Returns ∫ab f dx. |
Arithmetic |
Quotient.inverse()
Returns (modular) multiplicative inverse of this (mod ~). |
Arithmetic |
Arithmetic.inverse()
Returns the multiplicative inverse of this arithmetic object. |
static Arithmetic |
Evaluations.max(Matrix M)
Deprecated. Returns the maximum value of all elements in this Matrix. |
static Arithmetic |
Evaluations.max(Vector v)
Deprecated. Returns the maximum value of all elements in this Vector. |
static Arithmetic |
Evaluations.min(Matrix M)
Deprecated. Returns the minimum value of all elements in this Matrix. |
static Arithmetic |
Evaluations.min(Vector v)
Deprecated. Returns the minimum value of all elements in this Vector. |
Arithmetic |
Arithmetic.minus()
Returns the additive inverse of this arithmetic object. |
Arithmetic |
Arithmetic.multiply(Arithmetic b)
Multiplies an arithmetic object to this returning the result. |
Arithmetic |
Vector.multiply(Vector b)
Scalar-dot-product 〈·,·〉:V×V→F of two vectors. |
Arithmetic |
Fraction.numerator()
Returns the numerator component. |
Arithmetic |
Arithmetic.one()
1. |
Arithmetic |
ValueFactory.parse(java.lang.String s)
Returns an arithmetic object whose value is equal to that of the representation in the specified string. |
Arithmetic |
ArithmeticFormat.parse(java.lang.String source)
Parse an arithmetic object string representation. |
Arithmetic |
ArithmeticFormat.parse(java.lang.String source,
java.text.ParsePosition status)
Parse an arithmetic object string representation. |
Arithmetic |
Arithmetic.power(Arithmetic b)
Returns the power of an arithmetic object to this base. |
Arithmetic |
Quotient.representative()
Get the "canonical" representative of this equivalence class. |
Arithmetic |
Quotient.scale(Arithmetic alpha)
R/I is an R-algebra, if R is a ring. |
Arithmetic |
Fraction.scale(Arithmetic alpha)
Multiplies a scalar with this arithmetic object returning the result. |
Arithmetic |
Arithmetic.scale(Arithmetic alpha)
Multiplies a scalar with this arithmetic object returning the result. |
Arithmetic |
Arithmetic.subtract(Arithmetic b)
Subtracts an arithmetic object from this returning the result. |
static Arithmetic |
Evaluations.sum(Matrix M)
Deprecated. Returns the total sum of all elements in this Matrix. |
static Arithmetic |
Evaluations.sum(Vector v)
Deprecated. Returns the total sum of all elements in this Vector. |
Arithmetic[] |
Vector.toArray()
Returns an array containing all the elements in this vector. |
Arithmetic[][] |
Matrix.toArray()
Returns an array containing all the elements in this matrix. |
Arithmetic |
Matrix.trace()
Returns the trace of the matrix representation. |
Arithmetic |
ValueFactory.valueOf(java.lang.String s)
Returns an arithmetic object whose value is equal to that of the representation in the specified string. |
Arithmetic |
Arithmetic.zero()
0. |
Methods in orbital.math with parameters of type Arithmetic | |
---|---|
Arithmetic |
Arithmetic.add(Arithmetic b)
Adds an arithmetic object to this returning the result. |
static Quotient |
AlgebraicAlgorithms.chineseRemainder(Arithmetic[] x,
Arithmetic[] m)
Simulatenously solve independent congruences. |
static Quotient |
AlgebraicAlgorithms.chineseRemainder(Arithmetic[] x,
Arithmetic[] m)
Simulatenously solve independent congruences. |
Vector |
ValueFactory.CONST(int n,
Arithmetic c)
Gets a constant Vector, with all elements set to c . |
Arithmetic |
Arithmetic.divide(Arithmetic b)
Divides this by an arithmetic object returning the result. |
static boolean |
MathUtilities.equals(Arithmetic a,
Arithmetic b,
double tolerance)
|
java.lang.String |
ArithmeticFormat.format(Arithmetic obj)
Get a formatted string representation of an arithmetic object. |
java.lang.StringBuffer |
ArithmeticFormat.format(Arithmetic obj,
java.lang.StringBuffer result,
java.text.FieldPosition fieldPosition)
|
Fraction |
ValueFactory.fraction(Arithmetic a)
Returns a new fraction a⁄1 ∈ S-1M = MS. |
Fraction |
ValueFactory.fraction(Arithmetic a,
Arithmetic s)
Returns a new fraction a⁄s ∈ S-1M = MS. |
Arithmetic |
Polynomial.get(Arithmetic i)
Get the i-th coefficient. |
Vector |
Vector.insert(Arithmetic v)
Append a value to this vector. |
Vector |
Vector.insert(int index,
Arithmetic v)
Insert a value into this vector at the specified index. |
static Arithmetic |
NumericalAlgorithms.integrate(Function f,
Arithmetic a,
Arithmetic b)
Returns ≈ ∫ab f dx. |
static Arithmetic |
MathUtilities.integrate(Function f,
Arithmetic a,
Arithmetic b)
Returns ∫ab f dx. |
Polynomial |
ValueFactory.MONOMIAL(Arithmetic exponent)
The monomial 1·Xi. |
Polynomial |
ValueFactory.MONOMIAL(Arithmetic coefficient,
Arithmetic exponent)
The monomial c·Xi. |
UnivariatePolynomial |
ValueFactory.MONOMIAL(Arithmetic coefficient,
int exponent)
The univariate monomial c·Xe. |
Polynomial |
ValueFactory.MONOMIAL(Arithmetic coefficient,
int[] exponents)
The monomial c·X0i[0]...Xn-1i[n-1]. |
Arithmetic |
Arithmetic.multiply(Arithmetic b)
Multiplies an arithmetic object to this returning the result. |
UnivariatePolynomial |
ValueFactory.polynomial(Arithmetic[] coefficients)
Returns a (univariate) polynomial with the specified coefficients. |
Arithmetic |
Arithmetic.power(Arithmetic b)
Returns the power of an arithmetic object to this base. |
Quotient |
ValueFactory.quotient(Arithmetic a,
Function mod)
Returns a new quotient ā=[a]∈M/mod of the given value reduced with the quotient operator. |
Quotient |
ValueFactory.quotient(Arithmetic a,
Polynomial m)
(traps type unification error). |
Arithmetic |
Quotient.scale(Arithmetic alpha)
R/I is an R-algebra, if R is a ring. |
Arithmetic |
Fraction.scale(Arithmetic alpha)
Multiplies a scalar with this arithmetic object returning the result. |
Arithmetic |
Arithmetic.scale(Arithmetic alpha)
Multiplies a scalar with this arithmetic object returning the result. |
void |
Tensor.set(int[] i,
Arithmetic vi)
Sets the component specified by index. |
void |
Vector.set(int i,
Arithmetic vi)
Sets a value at the component specified by index. |
void |
Matrix.set(int i,
int j,
Arithmetic mij)
Sets a component value at a position (i|j). |
Arithmetic |
Arithmetic.subtract(Arithmetic b)
Subtracts an arithmetic object from this returning the result. |
Vector |
ValueFactory.tensor(Arithmetic[] values)
Returns a vector containing the specified arithmetic objects. |
Matrix |
ValueFactory.tensor(Arithmetic[][] values)
Returns a matrix containing the specified arithmetic objects. |
Tensor |
ValueFactory.tensor(Arithmetic[][][] values)
|
Vector |
ValueFactory.valueOf(Arithmetic[] values)
Returns a Vector containing the specified arithmetic objects. |
Matrix |
ValueFactory.valueOf(Arithmetic[][] values)
Returns a Matrix containing the specified arithmetic objects. |
Uses of Arithmetic in orbital.math.functional |
---|
Subinterfaces of Arithmetic in orbital.math.functional | |
---|---|
interface |
BinaryFunction
This interface encapsulates a binary function "r = f(x,y)". |
static interface |
BinaryFunction.Composite
A composite function. |
interface |
Function
This interface encapsulates a mathematical unary function "r = f(x)". |
static interface |
Function.Composite
A composite function. |
interface |
MathFunctor
MathFunctor interface tags all mathematical functors. |
static interface |
MathFunctor.Composite
A composed mathematical functors. |
Methods in orbital.math.functional with parameters of type Arithmetic | |
---|---|
static BinaryFunction |
Functions.binaryConstant(Arithmetic a)
constant â: R×R→R; (x,y) ↦ a. |
static Function |
Functions.exp(Arithmetic b)
expb: C→C\{0}; x ↦ bx . |
static Function |
Functions.linear(Arithmetic a)
linear: A→B; x ↦ a*x. |
static Function |
Functions.pow(Arithmetic p)
powp: R→R; x ↦ xp . |
Uses of Arithmetic in orbital.moon.logic |
---|
Methods in orbital.moon.logic that return Arithmetic | |
---|---|
Arithmetic |
MathExpressionSyntax.createMathExpression(java.lang.String expression)
Parses an expression and queries its arithmetic object. |
Arithmetic |
MathExpressionSyntax.getValueOf(Expression x)
Get the arithmetic object represented by an expression. |
|
Orbital library 1.3.0: 11 Apr 2009 |
|||||||||
PREV NEXT | FRAMES NO FRAMES |