nrow_elements {blockmatrix}R Documentation

nrow_elements S3 method for blockmatrix object

Description

nrow_elements S3 method for blockmatrix object

Usage

  nrow_elements(M, zero_element = "0", ...)

  ## Default S3 method:
 nrow_elements(M, zero_element = "0",
    ...)

  ## S3 method for class 'blockmatrix'
 nrow_elements(M,
    zero_element = "0", ...)

Arguments

M

a blockmatrix object

zero_element

character value indicating a zero matrix. Default is "0"

...

further arguments

Value

The number of rows of a matrix-type element of M. It is NA if the elements has different number of rows.

Author(s)

Emanuele Cordano


[Package blockmatrix version 1.0 Index]