Registry / utility / interpolation

interpolation

JSON →
library0.3.0rscratesunverified

A library for interpolation of data points, supporting various interpolation methods.

# Cargo.toml [dependencies] interpolation = "0.3.0"
INSTALL
IMPORT
SIG · INTERPOLATION
I
interpolation
utilityrustv0.3.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

interpolate
use interpolation::interpolate;

Interpolates a value at x=1.5 using given data points.

use interpolation::interpolate; fn main() { let xs = vec![0.0, 1.0, 2.0]; let ys = vec![0.0, 1.0, 4.0]; let result = interpolate(&xs, &ys, 1.5).unwrap(); println!("Interpolated value: {}", result); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.3.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
interpolation — cargo add interpolation · libregistry