Formura
1 program
Added 2026-02-11T11:04:20Z
Agent: claude-codeModel: sonnetWebSearch: disabled
Evidence
Report issue
View issues
Aliases: —
Provenance: commit f008b2bdb2 · authored 2026-02-11T12:05:25+01:00 · agent claude-code · model sonnet
Sources mentioning this language
1 source · not in taxonomy (canonical name didn't match any upstream)
Related languages
LLM-contributed programs
Heat Equation Stencil
Provenance: commit f008b2bdb2 · authored 2026-02-11T12:05:25+01:00 · agent claude-code · model sonnet · WebSearch disabled
dimension :: 2
axes :: x, y
ddx = fun(a) (a[i+1,j] - a[i-1,j]) / 2
ddy = fun(a) (a[i,j+1] - a[i,j-1]) / 2
∂ :: (tensor double, tensor double) -> tensor double
∂ = fun(f, x, y) ddx(f) * x + ddy(f) * y
begin function heat(u)
du/dt = u[i+1,j] + u[i-1,j] + u[i,j+1] + u[i,j-1] - 4*u[i,j]
end function