Skip to content

Commit

Permalink
typos
Browse files Browse the repository at this point in the history
  • Loading branch information
spaette committed Oct 14, 2023
1 parent eabb202 commit 15739bd
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion LICENSE.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:

Expand Down
4 changes: 2 additions & 2 deletions NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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])`


Expand Down
2 changes: 1 addition & 1 deletion docs/src/usage/constructors.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion docs/src/usage/spaces.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down
2 changes: 1 addition & 1 deletion examples/Eigenvalue.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down
2 changes: 1 addition & 1 deletion examples/Eigenvalue_anharmonic.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down
4 changes: 2 additions & 2 deletions src/Plot/Plot.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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."

Check warning on line 300 in src/Plot/Plot.jl

View check run for this annotation

Codecov / codecov/patch

src/Plot/Plot.jl#L300

Added line #L300 was not covered by tests
end

# sort the points
Expand All @@ -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."

Check warning on line 321 in src/Plot/Plot.jl

View check run for this annotation

Codecov / codecov/patch

src/Plot/Plot.jl#L321

Added line #L321 was not covered by tests
end


Expand Down

0 comments on commit 15739bd

Please sign in to comment.