registeringCode | R Documentation |
These are objects of class CallRoutine
or FortranRoutine
and also NativeSymbolInfo
They provide information for compiledfunctions called with .Call
,
or .Fortran
.
Ordinarily one would not need to consult these and they are used to make
the search among dynamically loaded libraries ( in particular the fields library) have less ambiguity and
also be faster. These are created when the package/library is loaded
are have their definitions from the compliation of init.c
in the
package source (src) directory.
The format is a list with components:
The (registration ?) name of the C function.
See NativeSymbolInfo.
Dynamically linked library information.
Number of calling arguments in function.
adds diagonal elements to a matrix. See mKrig
.
Fills in upper triangle of a matrix with the exponential covariance function. See ExponentialUpper
Converts compact format to full matrix format. See compactToMat
.
Mulitplies a vector/matrix with an exponential covariance function. See exp.cov
This has been mysteriously included but it is not a function!
Evaluates the derivatives of thin plate sline radial basis functions. See rad.cov
.
Euclidean distance function between sets of coordinates.
See rdist
.
Used in RdistEarth
.
Used in RdistEarth
.
See package_native_routine_registration_skeleton
for the
utility used to create these data objects.
It is not clear why these routines have been flagged as needing documentation while other routines have not.
For background on registering C, C++ and Fortran functions see 5.4 of
Writing R Extensions. For this package refer to the C code in
src/intit.c
as an example.
print(addToDiagC)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.