praktikum.matrix
Class Binary

java.lang.Object
  |
  +--praktikum.matrix.Matrix
        |
        +--praktikum.matrix.Term
              |
              +--praktikum.matrix.Binary
All Implemented Interfaces:
Function
Direct Known Subclasses:
Add, Divide, Mult, Subtract

public class Binary
extends Term

Die Klasse Binary stellt die Verknüpfung zweier Terme dar.


Fields inherited from class praktikum.matrix.Term
arguments, latex, operatorLatex, term, type
 
Fields inherited from class praktikum.matrix.Matrix
number
 
Constructor Summary
protected Binary(String type, String latex)
          Konstruiert einen Term als Verknüpfung von zwei Termen.
 
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

Binary

protected Binary(String type,
                 String latex)
Konstruiert einen Term als Verknüpfung von zwei Termen.
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.