Skip to main content

builtin_rep_len

Function builtin_rep_len 

Source
fn builtin_rep_len(
    args: &[RValue],
    _: &[(String, RValue)],
) -> Result<RValue, RError>
Expand description

Replicate elements to a specified length.

@param x a vector @param length.out desired output length @return vector of the specified length, recycling x as needed