Cargo Features

[dependencies]
pcw_regrs = { version = "1.9.0", default-features = false, features = ["serde", "nightly-only", "parallel_rayon", "dofs-sub-one", "rtrb"] }
default = dofs-sub-one, parallel_rayon, serde

These default features are set whenever pcw_regrs is added without default-features = false somewhere in the dependency tree.

serde default

Enables serde

nightly-only

Enables nightly-only of polyfit-residuals

parallel_rayon default

Enables polyfit-residuals and rayon

polyfit-residuals:

Add rayon-based parallel implementation.

dofs-sub-one default

If this feature is enabled then a segment of n data points is allowed no more than n-1 dofs rather than the n dofs we usually allow. This behaviour corresponds to the preconditions of the uniqueness proof and makes intuitive sense when considering the locality of each point:
by not going up to full interpolation any point necessarily influences the full model whereas interpolation would allow it to influence only a single segment.

Features from optional dependencies

overflow-checks = false # Disable integer overflow checks.

rtrb implicit feature

Enables rtrb ^0.2.3

rtrb:

A realtime-safe single-producer single-consumer ring buffer