Description Usage Arguments Value Author(s) Examples
This function compute the reordering (or find the best reordering) using the GMRFLib implementation
1 2 | inla.qreordering(graph, reordering)
|
graph |
A |
reordering |
The type of reordering algorithm to be used; either one of the names listed in |
inla.qreordering
returns a list with the name of the reordering algorithm used or found, the reordering code for the reordering algorithm,
the actual reordering and its inverse.
Havard Rue hrue@math.ntnu.no
1 2 3 4 5 6 7 | g = system.file("demodata/germany.graph", package="INLA")
r = inla.qreordering(g)
m = inla.graph2matrix(g)
r = inla.qreordering(m)
m.file = INLA:::inla.write.fmesher.file(m)
r = inla.qreordering(m.file)
unlink(m.file)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.