Class DifferentialVariable

java.lang.Object
xal.tools.math.DifferentialVariable

public class DifferentialVariable extends Object
Represents an immutable value and its differentials relative to independent variables and performs math operations on them in support of error propagation.
Author:
t6p
  • Field Details

  • Constructor Details

    • DifferentialVariable

      public DifferentialVariable(double value, int offset, double... derivatives)
      Primary Constructor
      Parameters:
      value - the value of the variable
      offset - offset of this differential's first independent variable relative to all independent variables
      derivatives - array of derivatives beginning with this differential's first independent variable
  • Method Details