|
|
|
|
|
by konjin
2105 days ago
|
|
You sound like a third year maths student who has just been taught the Lebesgue integral and has decided that it is the _real_ definition of definite integration. Quite frankly I don't have the energy or inclination to have adversarial arguments with people who don't understand what I'm saying. Maybe talk to your professors about the generalizations of integration and why none of them are the 'real' way to integrate a function. Also the integral procedure defined at the top isn't a function, it's an operator. It returns functions as results, not values. |
|
The expression of the integral operator as a function in code is contrary to that with how people usually think about functions and code.
The only language I know that properly manages to represent integrals as code is Wolfram Mathematica by using rich rewrite systems.
That is Integrate(f,a,b) is not code but a data structure to be interpreted by an external (and customizable) integration context that defines numerical types, algorithms, lazyness, etc.
From the links I know of Wolfram Mathematica and lisp this could well be what you meant, but it is quite different from giving a single integration algorithm.