Navigation

Operators and Keywords

Function List:

C++ API

: triplequad (f, xa, xb, ya, yb, za, zb)
: triplequad (f, xa, xb, ya, yb, za, zb, tol)
: triplequad (f, xa, xb, ya, yb, za, zb, tol, quadf)
: triplequad (f, xa, xb, ya, yb, za, zb, tol, quadf, …)

Numerically evaluate the triple integral of f.

f is a function handle, inline function, or string containing the name of the function to evaluate. The function f must have the form w = f(x,y,z) where either x or y is a vector and the remaining inputs are scalars. It should return a vector of the same length and orientation as x or y.

xa, ya, za and xb, yb, zb are the lower and upper limits of integration for x, y, and z respectively. The underlying integrator determines whether infinite bounds are accepted.

The optional argument tol defines the absolute tolerance used to integrate each sub-integral. The default value is 1e-6.

The optional argument quadf specifies which underlying integrator function to use. Any choice but quad is available and the default is quadcc.

Additional arguments, are passed directly to f. To use the default value for tol or quadf one may pass ':' or an empty matrix ([]).

See also: dblquad, quad, quadv, quadl, quadgk, quadcc, trapz.

Package: octave