quadratic2_eval

std.seq.quadratic2_eval · Level L3

The values of the two-variable real polynomial u₀ + u₁x + u₂y + u₃x² + u₄xy + u₅y² (coefficients in that fixed order) at given points (x, y), the rows of pts.

u(x, y) = u·(1, x, y, x², xy, y²)

Signature

quadratic2_eval(u: f64[6], pts: f64[m, 2]) → f64[m]

Structure

The function as NOVA stores it: one box per input, operation and output, and arrows that carry values. A double border marks another library function this one runs — called once, or by Scan once per element; select it to open that function.

uf64[6]0ptsf64[m, 2]10.0GatherxGatheryReshapec1Multiplyzx1.0MultiplyxxMultiplyxyReshapec2MultiplyyyAddone_vReshapec3Reshapec4Reshapec5Reshapec0ConcatMonmatvecvaluevaluef64[m]
  • input
  • operation
  • constant
  • call
  • output

Verification

  • Signature proven by NOVA’s shape solver, for every size.
  • Equal to the reference the six monomials at each point in exact rational arithmetic, on all 40 test cases.
  • All 163 float64 results are exact: the error is zero.
  • Interpreter and NumPy backend return bit-identical results.
  • At float32 too: the 40 test cases rounded to float32, and 40 of them exact, with zero error.
Accuracy in detail
correctly rounded (the float64 nearest the exact value)
100%
bit-equal to the NumPy formula in float64
100%
largest error, in units in the last place
0

Identity

Calls
Called by
—
sha256:c8ce633a79043235e0382f72d36efab5745f1843f848576260dc58a01c6b393b

The semantic hash of the graph. It changes when the program changes, and never when only its documentation does.

Control handle

Symbol
Ω:std.seq.quadratic2_eval · Ω:quadratic2_eval
Pins
sha256:3ab75c2d55d92499d10f04188667d6726852444d2978b136211c52d753c584e1this graph and the 1 it reaches through calls
Evidence
sha256:ff7159921c4abbd52839989592928f7d99985b2f7336daf26ad5354b4610a59cthe hash of its verification record
Needs
no capability: a pure function

Through NOVA’s control layer, the symbol launches this function only while the program still matches what it pins: a change to this graph, or to any graph it reaches, needs a migration first.

ΣEML 2026

Efficient New Language — a high-density semantic overlay for humans and AI agents.

This site’s demos run on the real EML toolchain, in your browser.

© 2026 EveMissLab (一言諾科技有限公司) / Neo.K. All rights reserved.