Skip to content

Commit

Permalink
Fix typo in documentation
Browse files Browse the repository at this point in the history
A minor error in the documentation
  • Loading branch information
adityam committed Feb 23, 2024
1 parent f3e350b commit 7f2bf21
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/method_iar_chebyshev.jl
Original file line number Diff line number Diff line change
Expand Up @@ -372,7 +372,7 @@ Computes the vector y0 used in [`iar_chebyshev`](@ref) defined as
```math
y_0 =\\left( \\sum_{i=0}^{N-1} B \\left( \\frac{d}{d \\theta} \\right) \\hat T_i(\\theta) x_i \\right)(0) - \\sum_{i=0}^{N} T_i(c) y_i
```
where \$T_i\$ is the i-th Chebyshev polynomial of the first kind, \$ \\ hat T_i\$ is the i-th Chebyshev polynomial of the first kind for the interval [a,b]. For a generic `nep`, this quantity is computed by converting polynomials in monomial basis. This procedure may be numerical unstable if many iterations are required. If for the specific `nep` a closed formula is available, we suggest to overload this function.
where \$T_i\$ is the i-th Chebyshev polynomial of the first kind, \$ \\hat T_i\$ is the i-th Chebyshev polynomial of the first kind for the interval [a,b]. For a generic `nep`, this quantity is computed by converting polynomials in monomial basis. This procedure may be numerical unstable if many iterations are required. If for the specific `nep` a closed formula is available, we suggest to overload this function.
"""
function compute_y0_cheb(T,nep::NEPTypes.NEP,::Type{ComputeY0Cheb},X,Y,M0inv,precomp::AbstractPrecomputeData)
# compute_y0_cheb computes y0 for the NEP
Expand Down

0 comments on commit 7f2bf21

Please sign in to comment.