How curve line on TradingView is calculated?

Hello,

I would like to know if anyone knows the math function behind curve line, which is available on TradingView/Investing? Can someone please help me with that?

Regards,