Packages

  • package root

    This is the documentation for the Evaluator project (see GitHub).

    This is the documentation for the Evaluator project (see GitHub).

    The main package net.totietje.evaluator. The net.totietje.complex package contains an example usage of this package, which may also be useful.

    Definition Classes
    root
  • package net
    Definition Classes
    root
  • package totietje
    Definition Classes
    net
  • package complex

    This package is centered around the Complex class, with a focus on complex arithmetic.

    This package is centered around the Complex class, with a focus on complex arithmetic.

    The ComplexEvaluator object contains the evaluate(String) method for parsing a mathematical expression as a function of complex numbers.

    Examples:
    1. val function = ComplexEvaluator.parse("log(i * x) - i * log(y)")

    2. ,
    3. val sine = Complex(3, 4).sin

  • package evaluator

    The evaluator package is designed to simplify the process of parsing a string.

    The evaluator package is designed to simplify the process of parsing a string.

    The work of parsing a string is reduced to just tokenizing an expression, that is, breaking it down into its principal parts. The AbstractEvaluator class will handle the rest.

    The AbstractTokenizer makes this even easier, though it is only applicable in some situations.

    See also

    AbstractTokenizer

    Tokenizer

    AbstractEvaluator

    Evaluator

p

net

totietje

package totietje

Ungrouped