kdim: kdim

Description Usage Arguments Details Value

Description

Get the "dimension" of the bands, i.e. the bandwidth.

Usage

1
kdim(x)

Arguments

x

A band matrix.

Details

The first digit is the width of the lower band while the second is the width of the upper band. For a general band matrix, these numbers can be different. For a symmetric matrix, they will be the same. For a diagonal matrix, they will both be 0. In any case, each will be a non-negative integer.

Value

A length 2 vector, similar to dim().


wrathematics/band documentation built on May 4, 2019, 9:48 a.m.