@@ -17,23 +17,23 @@ abstract type AbstractILt end
1717"""
1818 ft::Talbot = Talbot(func::Function, Nterms::Integer=32)
1919
20- return `ft`, which estimates the inverse Laplace transform of `func` with
20+ Return `ft`, which estimates the inverse Laplace transform of `func` with
2121the fixed Talbot algorithm. `ft(t)` evaluates the transform at `t`. You may
2222want to tune `Nterms` together with `setprecision(BigFloat, x)`.
2323
2424# Example
2525
2626Compute the inverse transform of the transform of `cos` at argument `pi/2`.
2727```julia-repl
28- julia> ft = Talbot(s -> s/ (s^2 + 1), 80);
28+ julia> ft = Talbot(s -> s / (s^2 + 1), 80);
2929
30- julia> ft(pi/ 2)
30+ julia> ft(pi / 2)
3131-3.5366510684573195e-5
3232```
3333
3434Note that given `Float64` input, the precision of the returned value may not be satisfactory.
3535```julia-repl
36- julia> Float64(ft(big(pi)/ 2))
36+ julia> Float64(ft(big(pi) / 2))
37372.114425886215604e-49
3838```
3939
@@ -53,16 +53,16 @@ Talbot(Laplace_space_func::Base.Callable) = Talbot(Laplace_space_func, talbot_de
5353"""
5454 ft::GWR = GWR(func::Function, Nterms::Integer=16)
5555
56- return `ft`, which estimates the inverse Laplace transform of `func` with
56+ Return `ft`, which estimates the inverse Laplace transform of `func` with
5757the GWR algorithm. `ft(t)` evaluates the transform at `t`.
5858
5959# Example
6060
61- Compute the inverse transform of the transform of `cos` at argument `pi/ 2`.
61+ Compute the inverse transform of the transform of `cos` at argument `pi / 2`.
6262```
63- julia> ft = GWR(s -> s/ (s^2 + 1), 16);
63+ julia> ft = GWR(s -> s / (s^2 + 1), 16);
6464
65- julia> ft(pi/ 2)
65+ julia> ft(pi / 2)
6666-0.001
6767```
6868"""
@@ -85,7 +85,7 @@ function Base.show(io::IO, ailt::AbstractILt)
8585 print (io, string (typeof (ailt)), " (Nterms=" , ailt. Nterms, ' )' )
8686end
8787
88- # TODO get rid of this in favor of above.
88+ # TODO : get rid of this in favor of above.
8989# Rely on broadcasting, as well.
9090struct ILt{T<: Base.Callable , V<: Base.Callable } <: AbstractILt
9191 Laplace_space_func:: T
9898
9999 * deprecated. Use, ILT, Talbot, GWR, or Weeks instead *
100100
101- return an object that estimates the inverse Laplace transform of
101+ Return an object that estimates the inverse Laplace transform of
102102the function `func` using the algorithm implemented by function `iltfunc`.
103103`itrans(t)` estimates the inverse transform for argument `t`. The
104104accuracy of the estimates depends strongly on the choice of `iltfunc`, `t`, `Nterms`,
0 commit comments