constructors: Banded Matrix Constructors

Description Usage Arguments Details References See Also

Description

Constructors for banded matrices. WARNING: for advanced users only. Use the caster function for conversions.

Usage

1
2
3
4
5
6
7
zeromat(dim)

diagmat(Data, dim)

symmat(Data, dim, triangle)

genbandmat(Data, dim, kl, ku)

Arguments

dim

The matrix dimension.

Data

The compact band matrix representation.

triangle

"u" or "l" for upper or lower, as in as.symmetric().

kl, ku

The lower and upper bandwidths, respectively.

Details

See url in the references for an explanation of the storage.

References

http://www.netlib.org/lapack/lug/node124.html

See Also

as.banded and as.matrix


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