Skip to content

Commit

Permalink
clarify docstrings
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshuaLampert committed Nov 6, 2024
1 parent 7f50174 commit b52b682
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/kernel_matrices.jl
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ end
interpolation_matrix(basis, ps, regularization)
Return the interpolation matrix for the `basis`, polynomials `ps`, and `regularization`.
The interpolation matrix is defined as
For the [`StandardBasis`](@ref), the interpolation matrix is defined as
```math
A = \begin{pmatrix}K & P\\P^T & 0\end{pmatrix},
```
Expand Down Expand Up @@ -96,7 +96,7 @@ end
least_squares_matrix(centers, nodeset, kernel, ps, regularization = NoRegularization())
Return the least squares matrix for the `basis`, `nodeset`, polynomials `ps`, and `regularization`.
The least squares matrix is defined as
For the [`StandardBasis`](@ref), the least squares matrix is defined as
```math
A = \begin{pmatrix}K & P_1\\P_2^T & 0\end{pmatrix},
```
Expand Down

0 comments on commit b52b682

Please sign in to comment.