Matrix class and methods for block diagonal matrices
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 | ## S4 method for signature 'bdMatrix'
nrow(x)
## S4 method for signature 'bdMatrix'
length(x)
## S4 method for signature 'bdMatrix'
ncol(x)
## S4 method for signature 'bdMatrix'
dim(x)
## S4 method for signature 'bdMatrix'
abs(x)
## S4 method for signature 'bdMatrix,ANY,ANY,ANY'
x[i, j, ..., drop = FALSE]
## S4 method for signature 'bdMatrix'
x[[i, j, ...]]
## S4 method for signature 'bdMatrix,numeric'
e1 * e2
## S4 method for signature 'bdMatrix,ANY'
crossprod(x)
## S4 method for signature 'bdMatrix,bdMatrix'
x %*% y
## S4 method for signature 'bdMatrix,numeric'
x %*% y
## S4 method for signature 'bdMatrix'
chol(x)
## S4 method for signature 'bdMatrix,ANY'
forceSymmetric(x)
## S4 method for signature 'bdMatrix,dgCMatrix'
e1 + e2
## S4 method for signature 'bdMatrix'
max(x)
|
x |
object of class |
i |
integer for subsetting rows of |
j |
integer for subsetting columns of |
... |
further arguments passed to ordinary subsetting functions |
drop |
logical. If TRUE the result is coerced to the lowest possible dimension. |
e1 |
see |
e2 |
see |
y |
see |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.