Learn R Programming

laGP (version 1.1-2)

deleteGP: Delete C-side Gaussian Process Objects

Description

Frees memory allocated by a particular C-side Gaussian process object, or all GP objects currently allocated

Usage

deleteGP(gpi)
deleteGPsep(gpsepi)
deleteGPs()
deleteGPseps()

Arguments

gpi
a scalar positive integer specifying an allocated isotropic GP object
gpsepi
similar to gpi but indicating a separable GP object

Value

  • Nothing is returned.

Details

Any function calling newGP or newGPsep will require destruction via these functions or there will be a memory leak.

See Also

newGP, newGPsep, predGP, mleGP

Examples

Run this code
## see examples for newGP, predGP, or mleGP

Run the code above in your browser using DataLab