cross

Fill in a module description here

source

make_cross

 make_cross (key:<function PRNGKey>, pop:chewc.population.Population,
             cross_plan:jax.Array, sim_param:chewc.sp.SimParam)

*Creates progeny from a series of planned crosses in a vectorized manner.

Args: key: A single JAX random key for the entire operation. pop: The parent population. cross_plan: A 2D array of shape (nCrosses, 2) where each row contains the mother and father iid, respectively. sim_param: The simulation parameters object.

Returns: A new Population object containing all the generated progeny.*