dhcp-script=/etc/detect_new_device.sh
Reference:
| library(rayshader) | |
| library(rayrender) | |
| popdata = raster::raster("gpw_v4_population_density_rev11_2020_15_min.tif") | |
| population_mat = rayshader:::flipud(raster_to_matrix(popdata)) | |
| above1 = population_mat > 1 | |
| above5 = population_mat > 5 | |
| above10 = population_mat > 10 |
dhcp-script=/etc/detect_new_device.sh
Reference:
| convolution <- function(A, B) { | |
| # Computes the convolution of two vectors. | |
| # | |
| # Args: | |
| # A, B: column vectors representing polynomial coefficients. | |
| # | |
| # Returns: | |
| # The coefficient vector resulting from multiplying the polynomial | |
| # represented by A by the polynomial represented by B. | |
| Ap <- c(A, B*0) |