#spline #interpolation

splines

Spline interpolation made easy

6 releases

0.2.3 Oct 13, 2018
0.2.2 Sep 30, 2018
0.1.1 Aug 8, 2018

#57 in Science

Download history 9/week @ 2018-10-25 5/week @ 2018-11-01 45/week @ 2018-11-08 12/week @ 2018-11-15 7/week @ 2018-11-22 42/week @ 2018-11-29 29/week @ 2018-12-06 19/week @ 2018-12-13 4/week @ 2018-12-20 21/week @ 2018-12-27 12/week @ 2019-01-10 11/week @ 2019-01-17

93 downloads per month

BSD-3-Clause

21KB
277 lines

splines

This crate provides splines, mathematic curves defined piecewise through control keys a.k.a. knots.

Feel free to dig in the online documentation for further information.

A note on features

This crate has features! Here’s a comprehensive list of what you can enable:

  • Serialization / deserialization.
    • This feature implements both the Serialize and Deserialize traits from serde for all types exported by this crate.
    • Enable with the "serialization" feature.
  • cgmath implementors.
    • Adds some useful implementations of Interpolate for some cgmath types.
    • Enable with the "impl-cgmath" feature.
  • nalgebra implementors.
    • Adds some useful implementations of Interpolate for some nalgebra types.
    • Enable with the "impl-nalgebra" feature.
  • Standard library / no standard library.
    • It’s possible to compile against the standard library or go on your own without it.
    • Compiling with the standard library is enabled by default.
    • Use default-features = [] in your Cargo.toml to disable.
    • Enable explicitly with the "std" feature.

Dependencies

~1MB
~17K SLoC