Skip to main content

extract_doubles

Function extract_doubles 

Source
fn extract_doubles(
    ca: &CallArgs<'_>,
    name: &str,
    pos: usize,
    default: f64,
) -> Vec<f64>
Expand description

Extract a vector of doubles from named/positional arg, defaulting to a single-element vector.