Re:A lazy way to solve differential equations
by naillo on Friday July 22, 2022 @12:43PM
(#32194064)
I wasn't actually gonna use them to solve a diff equation though to be honest :) I was just experimenting with denoising diffusion and instead of a u-net to infer the denoising step, I was thinking about using a multivariate polynomial. (Since if you express the output denoising as a linear combination of polynomials finding the denoiser just turns into linear algebra. Might be a big solve etc but inferene is way fast and it's nice to know that you have the global opimum.) I'm sitting at the code right this instant and was using x, y, xy, x^2y, xy^2, etc, but this thread inspired me to try out chebychev as a possible alternative. :)
Re:A lazy way to solve differential equations
by johnbcoughlin on Friday July 22, 2022 @01:20PM
(#32194546)
Any orthogonal polynomial family can be combined into a simple tensor product basis. So in your case you could try T_1(x), T_1(y), T_1(x)T_1(y), T_2(x), T_2(x)T_1(y), and so on.
Re:A lazy way to solve differential equations
by wheelinsupial on Friday July 22, 2022 @12:41PM
(#32194028)
I think they might be asking about PDEs instead of ODEs in this case when they mentioned x, y, z as being multivariable.
dx/dt = stuff
dy/dt = stuff
OR
dt/dx = stuff
dt/dy = stuff
Require very different approaches.