Class FunctionsUtil

java.lang.Object
de.tu_bs.isbs.util.math.functions.FunctionsUtil

public class FunctionsUtil
extends java.lang.Object
Statische Methoden zum Erzeugen nützlicher Spezialfälle von Funktionen.
Author:
Stefan
  • Constructor Summary

    Constructors 
    Constructor Description
    FunctionsUtil()  
  • Method Summary

    Modifier and Type Method Description
    static DifferentiableFunction createConstantFunction​(double c)
    Erzeugt eine konstante Funktion.
    static DifferentiableFunction createLinearFunction​(double xA, double yA, double xB, double yB)
    Erzeugt eine lineare Funktion durch die Punkte (xA,yA), (xB,yB), xA < xB.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • Method Details

    • createLinearFunction

      public static DifferentiableFunction createLinearFunction​(double xA, double yA, double xB, double yB)
      Erzeugt eine lineare Funktion durch die Punkte (xA,yA), (xB,yB), xA < xB.
      Parameters:
      xA - Stelle xA
      yA - Wert an der Stelle xA
      xB - Stelle xB
      yB - Wert an der Stelle xB
      Returns:
      Throws:
      java.lang.IllegalArgumentException - wenn nicht xA kleiner xB gilt.
    • createConstantFunction

      public static DifferentiableFunction createConstantFunction​(double c)
      Erzeugt eine konstante Funktion.
      Parameters:
      c - Konstanter Wert f(x) = c.
      Returns: