News for hackers. Stuff that matters.
Re:A lazy way to solve differential equations by naillo on Friday July 22, 2022 @12:01PM (#32193504)
Anyone here (or the OP) know how you'd use chebyshev in a multivariate scenario? The wikipedia article only defines them for the 1d case.
Re:A lazy way to solve differential equations by bigbillheck on Friday July 22, 2022 @02:37PM (#32195572)
Re:A lazy way to solve differential equations by freemint on Friday July 22, 2022 @12:07PM (#32193585)
What exactly do you mean by multivariate?
Re:A lazy way to solve differential equations by naillo on Friday July 22, 2022 @12:22PM (#32193793)
More than one variable :) x/y/z etc
Re:A lazy way to solve differential equations by freemint on Friday July 22, 2022 @12:25PM (#32193830)
There are two ways differential equations can involve more than one variable.

dx/dt = stuff

dy/dt = stuff

OR

dt/dx = stuff

dt/dy = stuff

Require very different approaches.

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.