odc.geo.math.Poly2d

class odc.geo.math.Poly2d(cc, A)[source]

Wrapper around polyval2d with input normalization.

__init__(cc, A)[source]

Methods

__init__(cc, A)

fit(aa, bb)

Fit 2d polynomial that minimizes poly(aa) - bb.

grid2d(x, y)

Evaluate on the Cartesian product of x and y.

with_input_transform(A)

Make a new transform by chaining a linear mapping A on input side.