pub fn rand_uniform_1d<T>(size: usize, low: T, high: T) -> Vec<T>
where
    T: Float,
{
    let mut dst: Vec<T> = vec![cast_t2u(0.0); size];
    rand_fill_1d(&mut dst, low, high);
    dst
}
/// generate a 1D vector with random values
generate a 1D vector with random values
generate a 1D vector with random values
pub fn rand_uniform_1d<T>(size: usize, low: T, high: T) -> Vec<T>
where
    T: Float,
{
    let mut dst: Vec<T> = vec![cast_t2u(0.0); size];
    rand_fill_1d(&mut dst, low, high);
    dst
}
pub fn rand_uniform_1d < T > ( size : usize , low : T , high : T ) -> Vec < T > where T : Float , { let mut dst : Vec < T > = vec ! [ cast_t2u ( 0.0 ) size ] ; rand_fill_1d ( & mut dst , low , high ) ; dst }
generate a 1D vector with random values
generate a 1D vector with random values
size
usize
low
T
high
T
size
usize
low
T
high
T