praktikum.matrix
Class Argument

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

public class Argument
extends Variable
implements DifferentiableTerm

Die Klasse Argument repräsentiert ein Funktionsargument; z.B. x in f(x;y).


Fields inherited from class praktikum.matrix.Term
arguments, latex, operatorLatex, term, type
 
Fields inherited from class praktikum.matrix.Matrix
number
 
Constructor Summary
Argument(String name)
          Konstrutiert ein Argument aufgrund eines Namens.
 
Method Summary
 Term diff(Argument arg)
          Differenziert einen Term nach einem Argument.
 boolean equals(Object obj)
          interne Verwaltungsroutine - nicht benutzen!!
 void execute()
          Ermittelt das Ergebnis der Verknüpfung.
 void fit(Argument arg)
          interne Verwaltungsroutine - nicht benutzen!!
 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, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface praktikum.matrix.Function
columns, rows
 

Constructor Detail

Argument

public Argument(String name)
Konstrutiert ein Argument aufgrund eines Namens.
Parameters:
name - Name des Arguments
Method Detail

execute

public void execute()
             throws IllegalStructureException
Description copied from class: Term
Ermittelt das Ergebnis der Verknüpfung.
Overrides:
execute in class Variable
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 Variable
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 Variable
Following copied from class: praktikum.matrix.Term
Returns:
Latex-Darstellung
Throws:
IllegalLatexRepresentationException - falls Latex-Darstellung fehlerhaft.

latexTerm

public String latexTerm()
                 throws IllegalLatexRepresentationException
Overrides:
latexTerm in class Variable

equals

public boolean equals(Object obj)
interne Verwaltungsroutine - nicht benutzen!!
Overrides:
equals in class Object

fit

public void fit(Argument arg)
interne Verwaltungsroutine - nicht benutzen!!

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
Overrides:
diff in class Variable
Following copied from interface: praktikum.matrix.DifferentiableTerm
Parameters:
arg - Argument, nach dem differenziert werden soll.
Returns:
Ableitung des Terms