Class TricubicFunction

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private double[][][] a
      Coefficients
      private static short N
      Number of points.
    • Constructor Summary

      Constructors 
      Constructor Description
      TricubicFunction​(double[] aV)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      double value​(double x, double y, double z)
      Compute the value for the function.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • a

        private final double[][][] a
        Coefficients
    • Constructor Detail

      • TricubicFunction

        TricubicFunction​(double[] aV)
        Parameters:
        aV - List of spline coefficients.
    • Method Detail

      • value

        public double value​(double x,
                            double y,
                            double z)
                     throws OutOfRangeException
        Description copied from interface: TrivariateFunction
        Compute the value for the function.
        Specified by:
        value in interface TrivariateFunction
        Parameters:
        x - x-coordinate of the interpolation point.
        y - y-coordinate of the interpolation point.
        z - z-coordinate of the interpolation point.
        Returns:
        the interpolated value.
        Throws:
        OutOfRangeException - if x, y or z are not in the interval [0, 1].