'None' value always returned by scipy.integrate.fixed_quad?

Viewed 79

The function scipy.integrate.fixed_quad returns a None with every call:

Returns:

val : float

Gaussian quadrature approximation to the integral

none : None

Statically returned value of None

Looking at the source of the function, the None is returned always no matter what. What is the meaning of this Statically returned value of None? Why is this value always returned?

1 Answers

What is the meaning of this Statically returned value of None?

Looking for "Statically returned" in search engine gives docs of mentioned scipy.integrate.fixed_quad as first result, so it does not seem to have special formal definition. I would say that is simple information that this function does return None not matter input it got, as opposed to function where output depend on input.

Related