Method

NumCosmoMathRNGDiscretecopy

Declaration [src]

NcmRNGDiscrete*
ncm_rng_discrete_copy (
  NcmRNGDiscrete* rng
)

Description [src]

Creates a copy of rng_discrete.

Return value

Type: NcmRNGDiscrete

A copy of rng_discrete.

The caller of the method takes ownership of the returned data, and is responsible for freeing it.