|
25 | 25 | //! ``` |
26 | 26 | //! |
27 | 27 | //! <div class="warning"> |
| 28 | +//! |
28 | 29 | //! **Warning:** `x` is expected to be strictly increasing, but this is not explicitly enforced. |
29 | 30 | //! However, if `x` is non-increasing, interpolation results are meaningless. |
| 31 | +//! |
30 | 32 | //! </div> |
31 | 33 |
|
32 | 34 | #![warn(missing_docs)] |
@@ -176,8 +178,10 @@ where |
176 | 178 | /// ``` |
177 | 179 | /// |
178 | 180 | /// <div class="warning"> |
| 181 | +/// |
179 | 182 | /// **Warning:** `x` is expected to be strictly increasing, but this is not explicitly enforced. |
180 | 183 | /// However, if `x` is non-increasing, interpolation results are meaningless. |
| 184 | +/// |
181 | 185 | /// </div> |
182 | 186 | pub fn interp<T>(x: &[T], y: &[T], xp: T, mode: &InterpMode<T>) -> T |
183 | 187 | where |
@@ -248,8 +252,10 @@ where |
248 | 252 | /// ``` |
249 | 253 | /// |
250 | 254 | /// <div class="warning"> |
| 255 | +/// |
251 | 256 | /// **Warning:** `x` is expected to be strictly increasing, but this is not explicitly enforced. |
252 | 257 | /// However, if `x` is non-increasing, interpolation results are meaningless. |
| 258 | +/// |
253 | 259 | /// </div> |
254 | 260 | pub fn interp_slice<T>(x: &[T], y: &[T], xp: &[T], mode: &InterpMode<T>) -> Vec<T> |
255 | 261 | where |
@@ -321,8 +327,10 @@ where |
321 | 327 | /// ``` |
322 | 328 | /// |
323 | 329 | /// <div class="warning"> |
| 330 | +/// |
324 | 331 | /// **Warning:** `x` is expected to be strictly increasing, but this is not explicitly enforced. |
325 | 332 | /// However, if `x` is non-increasing, interpolation results are meaningless. |
| 333 | +/// |
326 | 334 | /// </div> |
327 | 335 | pub fn interp_array<T, const N: usize>( |
328 | 336 | x: &[T], |
|
0 commit comments