bandwidth | R Documentation |
Returns the lower and upper bandwidth of a sparse matrix
bandwidth(A)
A |
spam object |
The matrix does not need to be diagonal. Values can be negative indicating the the matrix contains a band cinfined in the upper or lower triangular part.
Integer vector containing the lower and upper bandwidth
Reinhard Furrer
diag.spam
.
bandwidth(spam(c(0, 1), 3, 2))
bandwidth(spam(c(0, 0, 1, rep(0, 9)), 4, 3))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.