Class SymGrid

java.lang.Object
org.ddogleg.chainrule.sym.SymGrid

public class SymGrid extends Object

A bilinear knot grid whose per-knot polynomials are conditional on a value: the composite behind the notation G(u; v), written G.at(u).of(v). One instance owns one parameter block, however many places it is read.

A read expands to two operators — weights at the pixel, then a polynomial blending the four surrounding knots — plus the hook that hands those knots' parameter slices to the polynomial once the pixel is known, and the Jacobian captures publishing them as columns. The hook and the captures arrive through SymExtension, so the graph builder needs no notion of a grid.

  • Field Details

    • config

      public final ConfigGridCoefND config
    • width

      public final int width
    • height

      public final int height
    • knots

      public final Sym knots
      The knot coefficients, a Sym.param(String, int) terminal sized to the grid
  • Constructor Details

  • Method Details

    • at

      public SymGrid.Read at(Sym pixel)
      The field position the grid is read at, an expression producing a pixel