Class InterpolationTable

java.lang.Object
net.simplace.sim.components.util.InterpolationTable
All Implemented Interfaces:
Function<Double,Double>
Direct Known Subclasses:
ScalableInterpolationTable

public class InterpolationTable extends Object implements Function<Double,Double>
  • Field Details

    • x

      protected net.simplace.sim.util.FWSimVariable<Double[]> x
    • y

      protected net.simplace.sim.util.FWSimVariable<Double[]> y
    • xy

      protected net.simplace.sim.util.FWSimVariable<Double[]> xy
    • isOldstyle

      protected Boolean isOldstyle
  • Constructor Details

    • InterpolationTable

      public InterpolationTable(net.simplace.sim.util.FWSimVariable<Double[]> tx, net.simplace.sim.util.FWSimVariable<Double[]> ty)
    • InterpolationTable

      public InterpolationTable(net.simplace.sim.util.FWSimVariable<Double[]> txy)
    • InterpolationTable

      public InterpolationTable(net.simplace.sim.util.FWSimVariable<Double[]> xtable, net.simplace.sim.util.FWSimVariable<Double[]> ytable, net.simplace.sim.util.FWSimVariable<Double[]> xytable)
    • InterpolationTable

      public InterpolationTable(net.simplace.sim.util.FWSimVariable<Double[]> xtable, net.simplace.sim.util.FWSimVariable<Double[]> ytable, net.simplace.sim.util.FWSimVariable<Double[]> xytable, Object caller)
  • Method Details

    • getValueAt

      public double getValueAt(double t)
    • getXValues

      public Double[] getXValues()
    • getYValues

      public Double[] getYValues()
    • getXYValues

      public Double[] getXYValues()
    • apply

      public Double apply(Double t)
      Specified by:
      apply in interface Function<Double,Double>