praktikum.matrix
Class Variable

java.lang.Object
  |
  +--praktikum.matrix.Matrix
        |
        +--praktikum.matrix.Term
              |
              +--praktikum.matrix.Variable
All Implemented Interfaces:
DifferentiableTerm, Function
Direct Known Subclasses:
Argument

public class Variable
extends Term
implements DifferentiableTerm

Die Klasse Variable speichert einen Term unter einem Variablen-Namen.


Fields inherited from class praktikum.matrix.Term
arguments, latex, operatorLatex, term, type
 
Fields inherited from class praktikum.matrix.Matrix
number
 
Method Summary
 Term diff(Argument arg)
          Differenziert einen Term nach einem Argument.
 void execute()
          Ermittelt das Ergebnis der Verknüpfung.
 String latex()
          Liefert eine Latex-Darstellung des Terms.
 String latexTerm()
           
 String toString()
          Liefert eine String-Darstellung des Terms
 
Methods inherited from class praktikum.matrix.Term
copyTerm, eval, fit, fit, latex, latexResult, numberOfArguments, result
 
Methods inherited from class praktikum.matrix.Matrix
columns, copy, copy, entries, get, newEntries, newEntries, rows, set
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface praktikum.matrix.Function
columns, rows
 

Method Detail

execute

public void execute()
             throws IllegalStructureException
Description copied from class: Term
Ermittelt das Ergebnis der Verknüpfung.
Overrides:
execute in class Term
Following copied from class: praktikum.matrix.Term
Throws:
IllegalStructureException - falls die verwendeten Terme in ihrer Struktur nicht zueinander passen.

toString

public String toString()
Description copied from class: Term
Liefert eine String-Darstellung des Terms
Overrides:
toString in class Term
Following copied from class: praktikum.matrix.Term
Returns:
String-Darstellung

latex

public String latex()
             throws IllegalLatexRepresentationException
Description copied from class: Term
Liefert eine Latex-Darstellung des Terms.
Overrides:
latex in class Term
Following copied from class: praktikum.matrix.Term
Returns:
Latex-Darstellung
Throws:
IllegalLatexRepresentationException - falls Latex-Darstellung fehlerhaft.

latexTerm

public String latexTerm()
                 throws IllegalLatexRepresentationException

diff

public Term diff(Argument arg)
          throws OperatorException
Description copied from interface: DifferentiableTerm
Differenziert einen Term nach einem Argument.
Specified by:
diff in interface DifferentiableTerm
Following copied from interface: praktikum.matrix.DifferentiableTerm
Parameters:
arg - Argument, nach dem differenziert werden soll.
Returns:
Ableitung des Terms