Skip to main content

apply_transform

Function apply_transform 

Source
pub fn apply_transform(
    kind: TransformKind,
    inputs: &[&[[f64; 2]]],
    settings: &TransformSettings,
) -> Vec<[f64; 2]>
Expand description

Apply kind to the first (and, for cross-correlation, second) series.

Returns an empty vector when the input is too short or a pair transform has fewer than two series.