From 15739bd11e38fb2cbe8892f22a8f135cbb4b2873 Mon Sep 17 00:00:00 2001 From: spaette Date: Sat, 14 Oct 2023 09:14:51 -0500 Subject: [PATCH] typos --- LICENSE.md | 2 +- NEWS.md | 4 ++-- docs/src/usage/constructors.md | 2 +- docs/src/usage/spaces.md | 2 +- examples/Eigenvalue.jl | 2 +- examples/Eigenvalue_anharmonic.jl | 2 +- src/Plot/Plot.jl | 4 ++-- 7 files changed, 9 insertions(+), 9 deletions(-) diff --git a/LICENSE.md b/LICENSE.md index 788910b82..0c59e4bb8 100644 --- a/LICENSE.md +++ b/LICENSE.md @@ -13,7 +13,7 @@ Redistribution and use in source and binary forms, with or without modification, THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -Contains code that is modified from Julia's Base code, which is distributted +Contains code that is modified from Julia's Base code, which is distributed with the following license: Copyright (c) 2009-2018: Jeff Bezanson, Stefan Karpinski, Viral B. Shah, and other contributors: diff --git a/NEWS.md b/NEWS.md index ef912d8f4..53e372122 100644 --- a/NEWS.md +++ b/NEWS.md @@ -50,7 +50,7 @@ - Fix several bugs and performance enhancements #### 0.7.1 -- `F` was renamed `DFunction` for dynamic funtion +- `F` was renamed `DFunction` for dynamic function - `Fun`s are now subtypes of `Function` - Support `f^k` for polynomial `f` and real `k` - Fix several bugs and performance enhancements @@ -75,7 +75,7 @@ evaluating at the boundary of an interval #### 0.6.0 - Adds support for Julia v0.6 -- Replaces FixedSizeArrays.jl dependancy with StaticArrays.jl +- Replaces FixedSizeArrays.jl dependency with StaticArrays.jl - Auto-vectorization `f([1,2,3])` is removed in favour of broadcasting `f.([1,2,3])` diff --git a/docs/src/usage/constructors.md b/docs/src/usage/constructors.md index 93d78aaab..5a01e11fe 100644 --- a/docs/src/usage/constructors.md +++ b/docs/src/usage/constructors.md @@ -34,7 +34,7 @@ julia> f = Fun(x->cospi(5x), -1..1); julia> g = abs(f); -julia> space(g) isa ContinuousSpace # Piecewise continous functions +julia> space(g) isa ContinuousSpace # Piecewise continuous functions true julia> domain(g) isa PiecewiseSegment # Segments interspersed by the roots of f diff --git a/docs/src/usage/spaces.md b/docs/src/usage/spaces.md index eb6f3e285..237a63bbe 100644 --- a/docs/src/usage/spaces.md +++ b/docs/src/usage/spaces.md @@ -53,7 +53,7 @@ true A key tool for solving differential equations are the ultraspherical spaces, encoded as `Ultraspherical(λ)` for `λ ≠ 0`, which can be defined by the span of derivatives of Chebyshev polynomials, or alternatively as polynomials orthogonal with respect to the weight ``(1-x^2)^{λ - \frac{1}{2}}`` for ``-1 ≤ x ≤ 1``. -Note that `Ultraspherical(1)` corresponds to the Chebyshev basis of the second kind: ``\mathop{U}_k(x) = \frac{\sin((k+1)\arccos{x})}{\sin(\arccos{x})}``. The relationship with Chebyshev polynomials follows from trigonemetric identities: ``\mathop{T}_k'(x) = k \mathop{U}_{k-1}(x)``. +Note that `Ultraspherical(1)` corresponds to the Chebyshev basis of the second kind: ``\mathop{U}_k(x) = \frac{\sin((k+1)\arccos{x})}{\sin(\arccos{x})}``. The relationship with Chebyshev polynomials follows from trigonometric identities: ``\mathop{T}_k'(x) = k \mathop{U}_{k-1}(x)``. Converting between ultraspherical polynomials (with integer orders) is extremely efficient: it requires ``\mathop{O}(n)`` operations, where ``n`` is the number of coefficients. diff --git a/examples/Eigenvalue.jl b/examples/Eigenvalue.jl index ccc976425..8f7cccaed 100644 --- a/examples/Eigenvalue.jl +++ b/examples/Eigenvalue.jl @@ -16,7 +16,7 @@ p # If the solutions are not relatively constant near the boundary then one should push # the boundaries further out. -# For problems with different contraints or boundary conditions, +# For problems with different constraints or boundary conditions, # `B` can be any zero functional constraint, e.g., `DefiniteIntegral()`. include("Eigenvalue_anharmonic.jl") diff --git a/examples/Eigenvalue_anharmonic.jl b/examples/Eigenvalue_anharmonic.jl index 37ccefbf5..8a9456867 100644 --- a/examples/Eigenvalue_anharmonic.jl +++ b/examples/Eigenvalue_anharmonic.jl @@ -30,7 +30,7 @@ B = Dirichlet(S); SEg = ApproxFun.SymmetricEigensystem(L, B); -# We construct `n × n` matrix representations of the opertors that we diagonalize +# We construct `n × n` matrix representations of the operators that we diagonalize n = 3000 λ = eigvals(SEg, n); diff --git a/src/Plot/Plot.jl b/src/Plot/Plot.jl index 63506ce16..00c35cdf7 100644 --- a/src/Plot/Plot.jl +++ b/src/Plot/Plot.jl @@ -297,7 +297,7 @@ end seriestype --> :surface if norm(imag(vals),Inf)>10e-9 - @warn "Imaginary part is non-neglible. Only plotting real part." + @warn "Imaginary part is non-negligible. Only plotting real part." end # sort the points @@ -318,7 +318,7 @@ end seriestype --> :surface if norm(imag(vals),Inf)>10e-9 - @warn "Imaginary part is non-neglible. Only plotting real part." + @warn "Imaginary part is non-negligible. Only plotting real part." end