nBlocks: Return the Number of Column/Row Blocks of a symDMatrix Object

Description Usage Arguments Value Examples

View source: R/symDMatrix.R

Description

This function returns the number of row blocks the original matrix has been partitioned into.

Usage

1

Arguments

x

A symDMatrix object.

Value

The number of column/row blocks of a symDMatrix object.

Examples

1
2
3
4
5
# Load example symDMatrix (G)
load.symDMatrix(system.file("extdata", "G.RData", package = "symDMatrix"), readonly = TRUE)

# Get the number of row blocks the original matrix was partitioned into
nBlocks(G)

symDMatrix documentation built on Aug. 2, 2020, 5:06 p.m.