R/ncol.blockmatrix.R

NULL


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


ncol.blockmatrix <- function (M)  {
	
	return(ncol(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.