Categories

## Performance when dealing with large matrices in React

I have a Minesweeper game written in React-Redux with somewhat basic visuals. The game has to support very large boards in the form of matrices (up to 400×400). In order to avoid mutability, I have to re-render the entire matrix everytime the player presses a tile. With larger boards (70×70+) it takes a while, and […]

Categories

## Bound the value of function by integration of derivatives

Given $f(x,y) \in C^2([0,1]^2)$ (by which I mean $C^2$ in some open neighborhood), with $f_x, f_y, f_{xy} \in L^1([0,1]^2, dxdy)$ (which is sure case since they are continuous), does the following hold? $$\sup |f| \le \iint |f|+|f_x|+|f_y|+|f_{xy}|\, dxdy$$ I think it is safe to discretise this function under the assumptions, divide $f$ into […]

Categories