Skip to content

Commit eefdcd1

Browse files
committed
Lagrange-interpolator: Include in mod.rs
1 parent 32daf45 commit eefdcd1

File tree

1 file changed

+4
-1
lines changed
  • crates/RustQuant_math/src/interpolation

1 file changed

+4
-1
lines changed

crates/RustQuant_math/src/interpolation/mod.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,14 @@ pub use exponential_interpolator::*;
1919
pub mod b_splines;
2020
pub use b_splines::*;
2121

22+
pub mod lagrange_interpolator;
23+
pub use lagrange_interpolator::*;
24+
2225
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2326
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2427

2528
/// Trait describing requirements to be interpolated.
26-
pub trait InterpolationValue: num::Num + AddAssign + std::fmt::Debug + Copy + Clone + Sized {}
29+
pub trait InterpolationValue: num::Num + AddAssign + MulAssign + std::fmt::Debug + Copy + Clone + Sized {}
2730

2831
/// Trait describing requirements to be an index of interpolation.
2932
pub trait InterpolationIndex:

0 commit comments

Comments
 (0)