R/RcppExports.R

Defines functions pmax_zero fast_match rcpp_dispersal can_source_cell_disperse shuffle_vec

# Generated by using Rcpp::compileAttributes() -> do not edit by hand
# Generator token: 10BE3573-1514-4C36-9D1C-5A225CD40393

shuffle_vec <- function(min, max) {
    .Call('_steps_shuffle_vec', PACKAGE = 'steps', min, max)
}

can_source_cell_disperse <- function(source_y, source_x, iterative_population_state, future_population_state, carrying_capacity_available, permeability_map, max_cells, min_cells) {
    .Call('_steps_can_source_cell_disperse', PACKAGE = 'steps', source_y, source_x, iterative_population_state, future_population_state, carrying_capacity_available, permeability_map, max_cells, min_cells)
}

rcpp_dispersal <- function(starting_population_state, potential_carrying_capacity, permeability_map, max_cells, min_cells, dispersal_proportion) {
    .Call('_steps_rcpp_dispersal', PACKAGE = 'steps', starting_population_state, potential_carrying_capacity, permeability_map, max_cells, min_cells, dispersal_proportion)
}

fast_match <- function(x, y) {
    .Call('_steps_fast_match', PACKAGE = 'steps', x, y)
}

pmax_zero <- function(X) {
    .Call('_steps_pmax_zero', PACKAGE = 'steps', X)
}
steps-dev/steps documentation built on Dec. 9, 2023, 10:51 p.m.