MCPcopy Create free account
hub / github.com/dhale/jtk / PolyTrend2

Method PolyTrend2

core/src/main/java/edu/mines/jtk/interp/PolyTrend2.java:45–50  ·  view source on GitHub ↗

Constructs a trend with specified scattered samples. The specified arrays are referenced; not copied. If insufficient samples are available for the specified order, then a fit is performed with a polynomial of lower order than that specified. Note that an order zero (constant) polynomial fit is

(int order, float[] f, float[] x1, float[] x2)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 2

argumentMethod · 0.95
setSamplesMethod · 0.95

Tested by

no test coverage detected