adsimp {SimplicialCubature} | R Documentation |
Internal functions for adaptIntegrateSimplex.
Description
adsimp is a translation of Alan Genz's matlab program adsimp.m to adaptively integrate over a simplex. The other functions listed below are all called by adsimp. These functions are used internally; use at your own risk.
Usage
adsimp(ND, VRTS, NF, F, MXFS, EA, ER, KEY, partitionInfo = FALSE )
adsimp.return.message( rcode )
SMPCHC(ND, NF, MXFS, EA, ER, SBS, KEY)
SMPDFS(ND, NF, F, TOP, SBS, VRTS)
SMPRMS(N, KEY)
SMPRUL(ND, VRTS, VOL, NF, F, G, W, PTS)
SMPSAD(ND, NF, F, MXFS, EA, ER, KEY, RCLS, SBS, VRTS, partitionInfo )
SMPSMS(N, VERTEX, NF, F, G)
Arguments
ND , N |
dimension of the space |
VRTS , VERTEX |
array specifying the simplices |
NF |
dimension of the function; F(x) has NF coordinates |
F |
a function of ND variables, value F(x) has NF coordinates |
rcode |
an integer return code from adsimp |
MXFS |
maximum number of function evaluations allowed |
EA |
requested absolute error |
ER |
requested relative error |
KEY |
integration rule |
partitionInfo |
TRUE or FALSE, controls whether or not the function returns information about the final partition. See the comments in function adaptIntegrateSimplex(). |
SBS |
number of subsimplices |
TOP |
pointer to a subsimplex |
VOL |
volume of a simplex |
G |
generators for integration rule |
W |
weights for an integration rule |
PTS |
points in an integration rule |
RCLS |
number of terms in an integration rule |
Value
Not meant to be used directly, these functions are generally called from function adaptIntegrateSimplex(...).