fm.FreeSparseFM {Rfmtool} | R Documentation |
FreeSparseFM function
Description
Frees the memory previously allocated in envsp.
Usage
fm.FreeSparseFM(envsp)
Arguments
envsp |
Structure required for sparse representation which stores the relevant values (k-tuples). It is obtained from fm.PrepareSparseFM(n). |
Value
output |
Frees the memory previously allocated in envsp. |
Author(s)
Gleb Beliakov, Andrei Kelarev, Quan Vu, Daniela L. Calderon, Deakin University
Examples
n<-3
envsp <- fm.PrepareSparseFM(n, vector(), vector())
envsp <- fm.FreeSparseFM(envsp)
envsp <- fm.PrepareSparseFM(n, c(0.2,0.4,0.1), c(2,1,2,2,1,3,3,1,2,3))
envsp <- fm.FreeSparseFM(envsp)
envsp
[Package Rfmtool version 5.0.4 Index]