| band_matrix {ADtools} | R Documentation |
Band matrix
band_matrix(nr, nc, x = 1)
nr |
integer; row dimension. |
nc |
integer; column dimension. |
x |
A scalar or a vector to be placed on the diagonal of the matrix. |
band_matrix(2, 3)
band_matrix(2, 3, c(999))
band_matrix(2, 3, c(999, 111))