|
Orbital library | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Symbol
Represents an algebraic or transcendental symbol.
Algebraic or transcendental symbols behave like arithmetic objects, with the exception that the result of an operation may not have a numeric value but require a symbolic representation again.
Variables and constants are symbols, for example. Roots of radicals can sometimes be represented as symbols.
Formally, symbols are elements of a term algebra, which is essentially
the free symbolic algebra without relations,
see, e.g., ValueFactory.quotient(Arithmetic,orbital.logic.functor.Function)
or AlgebraicAlgorithms.reduce(Polynomial,java.util.Collection,java.util.Comparator)
for generating relations.
ValueFactory.symbol(String)| Field Summary | |
|---|---|
static Predicate |
isa
Checks whether the given arithmetic object is a symbol. |
| Fields inherited from interface orbital.math.Arithmetic |
|---|
numerical |
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object o)
|
boolean |
equals(java.lang.Object o,
Real tolerance)
Compares for tolerant equality. |
java.lang.String |
getSignifier()
Get the signifier representing this symbol (the symbol's name). |
int |
hashCode()
|
| Methods inherited from interface orbital.math.Arithmetic |
|---|
add, divide, inverse, isOne, isZero, minus, multiply, one, power, scale, subtract, toString, valueFactory, zero |
| Methods inherited from interface orbital.math.Normed |
|---|
norm |
| Methods inherited from interface orbital.logic.trs.Variable |
|---|
isVariable |
| Field Detail |
|---|
static final Predicate isa
| Method Detail |
|---|
java.lang.String getSignifier()
Symbol.getSignifier()
boolean equals(java.lang.Object o,
Real tolerance)
equals in interface Arithmetictolerance - specifies how much the arithmetic objects may differ to be treated as equal.
boolean equals(java.lang.Object o)
equals in class java.lang.Objectint hashCode()
hashCode in class java.lang.Object
|
Orbital library 1.3.0: 11 Apr 2009 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||