Class CROperatorBilinearSplineND

java.lang.Object
org.ddogleg.chainrule.ops.CROperatorBilinearND
org.ddogleg.chainrule.ops.CROperatorBilinearSplineND
All Implemented Interfaces:
CROperatorBackwardsJac<double[]>, CROperatorForward<double[]>

public class CROperatorBilinearSplineND extends CROperatorBilinearND

Implementation of CROperatorBilinearND where the knots are also splines which use linear interpolation.

A knot's coefficients are samples on a regular grid spanning valueMin to valueMax, so coefs samples make coefs - 1 buckets. Values outside that range are clamped to the nearest end rather than extrapolated, which bounds what this returns no matter what it is handed.

  • Field Details

    • valueMin

      public double valueMin
      The min and max expected values of value
    • valueMax

      public double valueMax
      The min and max expected values of value
    • bucket

      protected int bucket
      Which bucket the lower extent is in
    • bucketFrac1

      protected double bucketFrac1
      The weight assigned to the upper end of the bucket. 0 to 1, inclusive
  • Constructor Details

    • CROperatorBilinearSplineND

      public CROperatorBilinearSplineND()
  • Method Details