Interpolation

Definition of a linearly interpolated function, i.e. a series of points defining a piecewise-linear curve of dependent vs independent variable(s) (only 1D).

Fields

  • domain_values: Vector of Values, default = []

    Vector of independent variable values. (required if no file_name is provided)

  • range_values: Vector of Float, default = []

    Vector of dependent variable values. (required if no file_name is provided)

  • interpolation_type: InterpolationType, default = NONE

  • interpolation: InterpolationType, default = NONE

    Type of interpolation. (required)

  • file_name: String, default = ""

    Csv file containing independent (domain) and dependent (range) variable values