outerbase | R Documentation |
ob = new(outerbase, om, x)
Class that handles the basis for a given set of points
x
.
x |
a matrix of predictors, must have as many columns as dims in
|
no returns, this is a class which contains methods
nthreads
number of threads for omp
to use
outerbase$getbase(k)
to get each dimensions basis functions
outerbase$getmat(terms)
to get the basis matrix at
terms
outerbase$build()
to (re)build the basis instance
outerbase$matmul(terms,a)
matrix multiply without building the basis matrix
outerbase$tmatmul(terms,a)
transpose matrix multiply without building the basis matrix
outermod
the core element that controls outerbase
om = new(outermod) setcovfs(om, c("mat25", "mat25", "mat25")) setknot(om, list(seq(0,1,by=0.025),seq(0,1,by=0.025),seq(0,1,by=0.025))) x = matrix(runif(10*3),ncol=3) ob = new(outerbase, om, x) terms = om$selectterms(40) basismat = ob$getmat(terms)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.