Navigation

Operators and Keywords

Function List:

C++ API

integration

Toolbox for 1-D, 2-D, and n-D Numerical Integration

Select category:

Integration

count
Not implemented.
cquadnd
usage: nvol = cquadnd (fun,lowerlim,upperlim,nquad); n -- number of dimensions to integrate nvol -- value of the n-dimensional integral fun -- fun(x) (function to be integrated) in this case treat
crule
usage: [bp,wf]=crule(m) This function computes Gauss-Chebyshev base points and weight factors using the algorithm given by somebody in 'SomeBook', page 365, Academic Press, 1975, but modified
crule2d
usage: [bpx,bpy,wfxy] = crule2d (nquadx,nquady);
crule2dgen
usage: [bpxv,wfxv,bpyv,wfyv] = crule2dgen (nquadx,nquady);
gquad
area = gquad (fun,xlow,xhigh,mparts,bp,wf) or area = gquad (fun,xlow,xhigh,mparts,nquad) or area = gquad (fun,xlow,xhigh,mparts,bp,wf,y) This function evaluates the integral of an ext
gquad2d
usage: vol = gquad2d(fun,xlow,xhigh,ylow,yhigh,bpx,bpy,wfxy) or vol = gquad2d(fun,xlow,xhigh,ylow,yhigh,nquadx,nquady) This function evaluates the integral of an externally defined func
gquad2d6
usage: vol = gquad6(fun,xlow,xhigh,ylow,yhigh)
gquad2dgen
usage: vol = gquad2dgen(funxy,limxlow,limxhigh,ylow,yhigh,bpxv,wfxv,bpyv,wfyv); or usage: vol = gquad2dgen(funxy,limxlow,limxhigh,ylow,yhigh,nquadx,nquady);
gquad6
gquadnd
usage: nvol = gquadnd (fun,lowerlim,upperlim,nquad); n -- number of dimensions to integrate nvol -- value of the n-dimensional integral fun -- fun(x) (function to be integrated) in this case trea
grule
[bp,wf]=grule(n) This function computes Gauss base points and weight factors using the algorithm given by Davis and Rabinowitz in 'Methods of Numerical Integration', page 365, Academic Press,
grule2d
usage: [bpx,bpy,wfxy] = grule2d (nquadx,nquady);
grule2dgen
usage: [bpxv,wfxv,bpyv,wfyv] = grule2dgen (nquadx,nquady);
innerfun
usage: int = innerfun(fun,lowerlim,upperlim,nquad,n,level,x,quadrule);
ncrule
usage: [bp,wf]=ncrule(m); This function returns the Newton-Coates base points and weight factors up to an 8 point Newton-Coates formula.
quad2dc
usage: int = quad2dc('Fun',xlow,xhigh,ylow,yhigh) or int = quad2dc('Fun',xlow,xhigh,ylow,yhigh,tol)
quad2dcgen
usage: int = quad2dcgen('Fun','funxlow','funxhigh',ylow,yhigh) or int = quad2dcgen('Fun','funxlow','funxhigh',ylow,yhigh,tol)
quad2dg
usage: int = quad2dg('Fun',xlow,xhigh,ylow,yhigh) or int = quad2dg('Fun',xlow,xhigh,ylow,yhigh,tol)
quad2dggen
usage: int = quad2dggen('Fun','funxlow','funxhigh',ylow,yhigh) or int = quad2dggen('Fun','funxlow','funxhigh',ylow,yhigh,tol)
quadc
usage: int = quadc('Fun',xlow,xhigh) or int = quadc('Fun',xlow,xhigh,tol) or int = quadc('Fun',xlow,xhigh,tol,trace,p1,p2,.
quadg
usage: int = quadg('Fun',xlow,xhigh) or int = quadg('Fun',xlow,xhigh,tol) or int = quadg('Fun',xlow,xhigh,tol,trace,p1,p2,.
quadndg
usage: int = quadndg('Fun',xlow,xhigh) or int = quadndg('Fun',xlow,xhigh,tol)
zero_count
usage: num_fxpow=zero_count