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.


Fields inherited from class praktikum.matrix.Term
arguments, latex, operatorLatex, term, type
 
Fields inherited from class praktikum.matrix.Matrix
number
 
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
 
Methods inherited from class praktikum.matrix.Term
copyTerm, eval, execute, 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
 

Constructor Detail

Unary

protected Unary(String type,
                String latex)
Konstruiert einen Term als Verknüpfung von einem Term.
Parameters:
type - Name der binären Verknüpfung
latex - Latex-Darstellung der Verknüpfung
Method Detail

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.