trans_empty#

pybrops.breed.prot.sel.prob.trans.trans_empty(decnvec, latentvec, **kwargs)[source]#

Return an empty vector.

Parameters:
  • decnvec (numpy.ndarray) – An array of shape (ndecn,) containing decision variables corresponding the latentvec values.

  • latentvec (numpy.ndarray) – An array of shape (l,) to be transformed.

  • kwargs (dict) – Additional keyword arguments. Not used by this function.

Returns:

out – An array of shape (0,) with the same dtype as the input.

Return type:

numpy.ndarray