table.integrate

Syntax

l = table.integrate(t)

Returns a list of 2D vectors representing the integration of the table t.

The list is generated using the trapesoidal rule, and will be of length one shorter than the number of entries in t. The X value will be the midpoint of each value pair.

Returns:

l - list of 2D vectors

Arguments:

t - integer name, string name, or table pointer