### Navigation

- index
- modules |
- modules |
- next |
- previous |
- SciPy v0.9 Reference Guide (DRAFT) »
- Integration and ODEs (`scipy.integrate`) »

# scipy.integrate.fixed_quad

`scipy.integrate.``fixed_quad`(func, a, b, args=(), n=5)

  Compute a definite integral using fixed-order Gaussian quadrature.

  Integrate func from a to b using Gaussian quadrature of order n.

  Parameters : | func : callable A Python function or method to integrate (must accept vector inputs). a : float Lower limit of integration. b : float Upper limit of integration. args : tuple, optional Extra arguments to pass to function, if any. n : int, optional Order of quadrature integration. Default is 5.
  Returns : | val : float Gaussian quadrature approximation to the integral

  See also

  `quad`
    adaptive quadrature using QUADPACK

  `dblquad`, `tplquad`

  `romberg`
    adaptive Romberg quadrature
  `quadrature`
    adaptive Gaussian quadrature

  `romb`, `simps`, `trapz`

  `cumtrapz`
    cumulative integration for sampled data

  `ode`, `odeint`

### Navigation

- index
- modules |
- modules |
- next |
- previous |
- SciPy v0.9 Reference Guide (DRAFT) »
- Integration and ODEs (`scipy.integrate`) »