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.
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