R/nrow.blockmatrix.R

NULL

#' 
#'\code{nrow} S3 method for \code{blockmatrix} object
#'
#' @param M a \code{blockmatrix} object 
#' @export
#' @rdname nrow
#' @method nrow blockmatrix
#' @S3method nrow blockmatrix
#' @aliases nrow
#'
#' @return Number of rows of blockmatrix \code{M} 
#' 
#' @author Emanuele Cordano 
#' 
#' 



nrow.blockmatrix <- function (M)  {
	
	return(nrow(as.matrix(M$value)))
	
}

Try the blockmatrix package in your browser

Any scripts or data that you put into this service are public.

blockmatrix documentation built on May 2, 2019, 6:11 a.m.