| 31-Symmetric | R Documentation |
Check if a given MPCR matrix is symmetric.
## S4 method for signature 'Rcpp_MPCR'
isSymmetric(object, ...)
object |
An MPCR matrix. |
... |
Ignored. |
A logical value.
## Not run:
library(MPCR)
x <- as.MPCR(1:50,25,2,"Single")
isSymmetric(x) #false
crossprod_output<-crossprod(x)
isSymmetric(crossprod_output) #true
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.