4 ms·
The example on first hit made no sense for me, the markup and the result were completely unrelated. Maybe it's a server load issue.
by emmelaich 2y ago
The example on first hit made no sense for me, the markup and the result were completely unrelated.
Maybe it's a server load issue.
- runarberg 2y agoProbably not, this is a static website, I pick a random equation from a pool of 10 on load time. Do you remember which one it showed? or tried to show?
- emmelaich 2y agoThe markup was something like ai = bj + ck + dl where i,j,k,l were superscripts. But there was a theta in there somewhere. Sorry, I should've taken a screenshot.
- runarberg 2y agoThe list of demo equations are here https://github.com/runarberg/mathup/blob/main/docs/main.js#L92-L117 https://github.com/runarberg/mathup/blob/main/docs/main.js#L... There are actually 21 of them (not 10). The only one with a theta in it is the gamma distribution (I think I wrote that example 10 years ago; today I would have used x instead of theta as the input variable, and lambda instead of beta as the rate variable). The gamma distribution has no sub-scripts, so you probably got that as the output. What might have happened is that your browser might have refreshed or something and loaded a different but the listener which reacts to the input changes (as well as page load) may have failed for an unknown reason.
- emmelaich 2y agoFound it; vec x = a hat i + b hat j + c hat k I misrembered, the theta was in the (unrelated) rendered version. No big deal, just some glitch.