ambient_math
0.3.2-nightly-2024-01-12
?
Function
ambient_math
::
cdf_sample
source
·
[
−
]
pub fn cdf_sample<T>(vector: &
[T]
, weight:
fn
(_:
usize
, _:
&T
) ->
f32
) ->
usize