Skip to content

Commit

Permalink
Interpolator doc tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
kylecarow committed Nov 27, 2024
1 parent 986c640 commit f48f502
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ pub enum Interpolator {
/// ```
/// use ninterp::*;
/// let interp = Interpolator::Interp2D(
/// // f(x) = 0.2 * x + 0.4 * y
/// // f(x, y) = 0.2 * x + 0.4 * y
/// Interp2D::new(
/// vec![0., 1., 2.], // x0, x1, x2
/// vec![0., 1., 2.], // y0, y1, y2
Expand Down Expand Up @@ -161,7 +161,7 @@ pub enum Interpolator {
/// ```
/// use ninterp::*;
/// let interp = Interpolator::Interp3D(
/// // f(x) = 0.2 * x + 0.2 * y + 0.2 * z
/// // f(x, y, z) = 0.2 * x + 0.2 * y + 0.2 * z
/// Interp3D::new(
/// vec![1., 2.], // x0, x1
/// vec![1., 2.], // y0, y1
Expand Down Expand Up @@ -200,7 +200,7 @@ pub enum Interpolator {
/// use ninterp::*;
/// use ndarray::array;
/// let interp = Interpolator::InterpND(
/// // f(x) = 0.2 * x + 0.2 * y + 0.2 * z
/// // f(x, y, z) = 0.2 * x + 0.2 * y + 0.2 * z
/// InterpND::new(
/// vec![
/// vec![1., 2.], // x0, x1
Expand Down

0 comments on commit f48f502

Please sign in to comment.