## ./

# tsumcumul.pro

## toptsumcumul

Numerical recipes

This function uses the trapezoidal rule to perform a running integration of tabulated data. It is adapted from the tsum routine in the IDL astronomy user's library, but returns the integral at each point of x, and not just over one large region.

### Return value

Integral(y dx) from x[0] to x[i]. A vector of the same length as x and y.

### Parameters

- x in required
Input x values

- y in required
Input y values

## File attributes

Modifcation date: | Mon Mar 29 16:55:51 2010 |

Lines: | 46 |