praktikum.matrix
Class Unary
java.lang.Object
|
+--praktikum.matrix.Matrix
|
+--praktikum.matrix.Term
|
+--praktikum.matrix.Unary
- All Implemented Interfaces:
- Function
- Direct Known Subclasses:
- Minus, Plus
- public class Unary
- extends Term
Die Klasse Unary stellt die Verknüpfung mit einem Term dar.
Constructor Summary |
protected |
Unary(String type,
String latex)
Konstruiert einen Term als Verknüpfung von einem Term. |
Method Summary |
String |
latex()
Liefert eine Latex-Darstellung des Terms. |
String |
toString()
Liefert eine String-Darstellung des Terms |
Unary
protected Unary(String type,
String latex)
- Konstruiert einen Term als Verknüpfung von einem Term.
- Parameters:
type
- Name der binären Verknüpfunglatex
- Latex-Darstellung der Verknüpfung
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.