The more standard way to do this is with objects called distributions which you can loosely think of as “things you can integrate to get a function.”
The more standard way to do this is with objects called distributions which you can loosely think of as “things you can integrate to get a function.”