powered by
Band matrix
band_matrix(nr, nc, x = 1)
integer; row dimension.
integer; column dimension.
A scalar or a vector to be placed on the diagonal of the matrix.
# NOT RUN { band_matrix(2, 3) band_matrix(2, 3, c(999)) band_matrix(2, 3, c(999, 111)) # }
Run the code above in your browser using DataLab