Static method asserting thatan object is a matrix.
## Static method (use this):
## Assert$isMatrix(x, nrow=NULL, ncol=NULL, ...)## Don't use the below:
# S3 method for Assert
isMatrix(static, x, nrow=NULL, ncol=NULL, ...)
Object to be checked.
Required number of rows. If NULL
, this is not checked.
Required number of columns. If NULL
, this is not checked.
Not used.
Returns (invisibly) TRUE
, or throws an exception.
For more information see Assert
.