lowess 1.3.0

LOWESS (Locally Weighted Scatterplot Smoothing)
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
//! Execution backend configuration for extension crates.
//!
//! This module defines the `Backend` enum used by extension crates (like `fastLowess`)
//! to select computational backends at runtime. The core `lowess` crate does not
//! implement GPU acceleration directly; this serves as a configuration placeholder
//! for downstream crates.

// Execution backend hint for extension crates.
#[derive(Debug, Clone, Copy, PartialEq, Eq, Default)]
#[allow(clippy::upper_case_acronyms)]
pub enum Backend {
    // CPU execution (may still use parallelism via rayon).
    #[default]
    CPU,

    // GPU execution (requires extension crate with GPU support).
    GPU,
}