Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions include/ndtbl/grid.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ class Grid
* per axis. Along each axis, the one-dimensional weights are the cubic
* Lagrange basis weights for the selected four axis coordinates:
* \f[
* L_i(x) = prod_{j != i} (x - x_j) / (x_i - x_j)
* L_i(x) = \prod_{j \ne i} \frac{x - x_j}{x_i - x_j}
* \f]
* The multidimensional stencil is formed as the tensor product of these
* one-dimensional Lagrange weights. Consequently, the stencil contains
Expand Down Expand Up @@ -364,7 +364,9 @@ class Grid
* Given four support point indices on the selected axis and a query
* coordinate, this function computes the four Lagrange basis weights
*
* w_i = prod_{j != i} (x - x_j) / (x_i - x_j)
* \f[
* w_i = \prod_{j \ne i} \frac{x - x_j}{x_i - x_j}
* \f]
*
* using the actual axis coordinates `x_i`. The resulting weights define the
* unique cubic polynomial, restricted to this local four-point stencil, that
Expand Down
Loading