| Package | Description |
|---|---|
| org.lsmp.djep.groupJep | |
| org.lsmp.djep.groupJep.groups | |
| org.lsmp.djep.groupJep.values | |
| org.lsmp.djep.xjep | |
| org.nfunk.jep | |
| org.nfunk.jep.function | |
| org.nfunk.jep.type |
| Modifier and Type | Method and Description |
|---|---|
static Complex |
GroupJep.complexValueOf(Object num)
A utility function which returns the complex aproximation of a number.
|
Complex |
GroupJep.getComplexValue()
Calcuates the value of the expression and returns the
result as a complex number.
|
| Modifier and Type | Field and Description |
|---|---|
protected Complex |
FreeGroup.rootVal |
| Modifier and Type | Method and Description |
|---|---|
Complex |
FreeGroup.getRootVal()
Returns an approximation to the value of the root as a complex number.
|
| Modifier and Type | Method and Description |
|---|---|
void |
FreeGroup.setRootVal(Complex complex)
Sets the value used to approximate the root as a complex number.
|
boolean |
FreeGroup.setRootVal(String sym,
Complex val)
Sets the root value for given symbol.
|
| Modifier and Type | Method and Description |
|---|---|
Complex |
Polynomial.calculateComplexValue(Complex rootVal)
returns the complex value of this polynomial.
|
Complex |
HasComplexValueI.getComplexValue() |
Complex |
FreeGroupElement.getComplexValue()
Returns an approximation to the complex number representing this algebraic number.
|
| Modifier and Type | Method and Description |
|---|---|
Complex |
Polynomial.calculateComplexValue(Complex rootVal)
returns the complex value of this polynomial.
|
| Modifier and Type | Field and Description |
|---|---|
protected static Complex |
TreeUtils.CI
Complex i
|
protected static Complex |
TreeUtils.CMINUSI
Complex Minus i
|
protected static Complex |
TreeUtils.CMINUSONE
Complex Minus One
|
protected static Complex |
TreeUtils.CONE
Complex One
|
protected static Complex |
TreeUtils.CZERO
Complex Zero
|
| Modifier and Type | Method and Description |
|---|---|
Complex |
TreeUtils.complexValue(Node node)
Returns the Complex value represented by node
|
| Modifier and Type | Method and Description |
|---|---|
Complex |
JEP.addVariable(String name,
double re,
double im)
Adds a new complex variable to the parser, or updates the value of an
existing variable.
|
Complex |
JEP.getComplexValue()
Evaluates and returns the value of the expression as a complex number.
|
| Modifier and Type | Method and Description |
|---|---|
Complex |
Add.add(Complex c1,
Complex c2) |
Complex |
Add.add(Complex c,
Number d) |
Complex |
Divide.div(Complex c1,
Complex c2) |
Complex |
Divide.div(Complex c,
Number d) |
Complex |
Divide.div(Number d,
Complex c) |
Complex |
Multiply.mul(Complex c1,
Complex c2) |
Complex |
Multiply.mul(Complex c,
Number d) |
Complex |
Subtract.sub(Complex c1,
Complex c2) |
Complex |
Subtract.sub(Complex c,
Number d) |
Complex |
Subtract.sub(Number d,
Complex c) |
| Modifier and Type | Method and Description |
|---|---|
Complex |
Add.add(Complex c1,
Complex c2) |
Complex |
Add.add(Complex c,
Number d) |
Complex |
Divide.div(Complex c1,
Complex c2) |
Complex |
Divide.div(Complex c,
Number d) |
Vector |
Divide.div(Complex c,
Vector v) |
Complex |
Divide.div(Number d,
Complex c) |
Vector |
Divide.div(Vector v,
Complex c) |
Complex |
Multiply.mul(Complex c1,
Complex c2) |
Complex |
Multiply.mul(Complex c,
Number d) |
Vector |
Multiply.mul(Vector v,
Complex c) |
Object |
Power.power(Complex c1,
Complex c2) |
Object |
Power.power(Complex c,
Number d) |
Object |
Power.power(Number d,
Complex c) |
Complex |
Subtract.sub(Complex c1,
Complex c2) |
Complex |
Subtract.sub(Complex c,
Number d) |
Complex |
Subtract.sub(Number d,
Complex c) |
| Modifier and Type | Method and Description |
|---|---|
Complex |
Complex.acos() |
Complex |
Complex.acosh() |
Complex |
Complex.add(Complex b)
Adds the complex number with another complex value.
|
Complex |
Complex.asin() |
Complex |
Complex.asinh() |
Complex |
Complex.atan() |
Complex |
Complex.atanh() |
Complex |
Complex.conj()
Returns the complex conjugate.
|
Complex |
Complex.cos()
Returns the cosine of this complex number.
|
Complex |
Complex.cosh() |
Complex |
Complex.div(Complex b)
Returns the result of dividing this complex number by the parameter.
|
Complex |
Complex.log()
Returns the logarithm of this complex number.
|
Complex |
Complex.mul(Complex b)
Multiply the complex number with another complex value.
|
Complex |
Complex.mul(double b)
Multiply the complex number with a double value.
|
Complex |
Complex.neg()
Returns the negative value of this complex number.
|
static Complex |
Complex.polarValueOf(Number r,
Number theta)
Converts an [r,theta] pair to a complex number r * e^(i theta).
|
Complex |
Complex.power(Complex exponent)
Returns the value of this complex number raised to the power of
a complex exponent
|
Complex |
Complex.power(double exponent)
Returns the value of this complex number raised to the power
of a real component (in double precision).
|
Complex |
Complex.sin()
Returns the sine of this complex number.
|
Complex |
Complex.sinh() |
Complex |
Complex.sqrt()
Calculates the square root of this object.
|
Complex |
Complex.sub(Complex b)
Adds the complex number with another complex value.
|
Complex |
Complex.tan()
Returns the tangent of this complex number.
|
Complex |
Complex.tanh() |
| Modifier and Type | Method and Description |
|---|---|
Complex |
Complex.add(Complex b)
Adds the complex number with another complex value.
|
Object |
NumberFactory.createNumber(Complex value)
Create a number object with given Complex value
|
Object |
DoubleNumberFactory.createNumber(Complex value) |
Complex |
Complex.div(Complex b)
Returns the result of dividing this complex number by the parameter.
|
boolean |
Complex.equals(Complex b,
double tolerance)
Compares this object with the Complex number given as parameter
|
Complex |
Complex.mul(Complex b)
Multiply the complex number with another complex value.
|
Complex |
Complex.power(Complex exponent)
Returns the value of this complex number raised to the power of
a complex exponent
|
void |
Complex.set(Complex z)
Copies the values from the parameter object to this object
|
Complex |
Complex.sub(Complex b)
Adds the complex number with another complex value.
|
| Constructor and Description |
|---|
Complex(Complex z)
Copy constructor
|
Copyright © 2018. All rights reserved.