Skip to content

Dl/domainsets002 #1

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 8 commits into from
Apr 25, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions Project.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name = "ApproxFunOrthogonalPolynomials"
uuid = "b70543e2-c0d9-56b8-a290-0d4d6d4de211"
version = "0.0.3"
version = "0.1"

[deps]
AbstractFFTs = "621f4979-c628-5d54-868e-fcf4e3e8185c"
Expand Down Expand Up @@ -30,22 +30,22 @@ ToeplitzMatrices = "c751599d-da0a-543b-9d20-d0a503d91d24"

[compat]
AbstractFFTs = "≥ 0.3.1"
ApproxFunBase = "0.0.4"
ApproxFunBase = "0.1"
BandedMatrices = "0.9.0"
BlockArrays = "0.8.0"
BlockBandedMatrices = "0.4.0"
Calculus = "≥ 0.1.15"
DSP = "≥ 0.5.1"
DomainSets = "0.0.1"
DomainSets = "0.0.2"
DualNumbers = "≥ 0.4.0"
FFTW = "≥ 0.2.4"
FastGaussQuadrature = "≥ 0.3.2"
FastTransforms = "≥ 0.4.2"
FillArrays = "≥ 0.5.0"
InfiniteArrays = "0.0.3"
InfiniteArrays = "0.1"
IntervalSets = "≥ 0.3.1"
LazyArrays = "0.8"
LowRankApprox = "≥ 0.1.4"
LowRankApprox = "≥ 0.2"
Reexport = "≥ 0.2.0"
SpecialFunctions = "≥ 0.7.0"
StaticArrays = "≥ 0.8.3"
Expand Down
2 changes: 1 addition & 1 deletion src/ApproxFunOrthogonalPolynomials.jl
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ import ApproxFunBase: normalize!, flipsign, FiniteRange, Fun, MatrixFun, UnsetSp

import DomainSets: Domain, indomain, UnionDomain, ProductDomain, FullSpace, Point, elements, DifferenceDomain,
Interval, ChebyshevInterval, boundary, ∂, rightendpoint, leftendpoint,
dimension
dimension, WrappedDomain

import BandedMatrices: bandrange, bandshift,
inbands_getindex, inbands_setindex!, bandwidth, AbstractBandedMatrix,
Expand Down
5 changes: 5 additions & 0 deletions src/Domains/Domains.jl
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,8 @@ isless(d2::Ray{true,T2},d1::IntervalOrSegment{T1}) where {T1<:Real,T2<:Real} = d
Base.setdiff(d::Union{AbstractInterval,Segment,Ray,Line}, ptsin::UnionDomain{AS}) where {AS <: AbstractVector{P}} where {P <: Point} =
affine_setdiff(d, ptsin)

Base.setdiff(d::Union{AbstractInterval,Segment,Ray,Line}, ptsin::WrappedDomain{<:AbstractVector}) =
affine_setdiff(d, ptsin)

Base.setdiff(d::Union{AbstractInterval,Segment,Ray,Line}, ptsin::AbstractVector{<:Number}) =
ApproxFunBase._affine_setdiff(d, ptsin)
4 changes: 2 additions & 2 deletions test/ODETest.jl
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
using ApproxFunOrthogonalPolynomials, ApproxFunBase, SpecialFunctions, LazyArrays, Test
import ApproxFunBase: Multiplication, testraggedbelowoperator, testbandedoperator, interlace, ∞
import ApproxFunBase: Multiplication, testraggedbelowoperator, testbandedoperator, interlace, ∞

@testset "ODE" begin
@testset "Airy" begin
Expand Down Expand Up @@ -120,7 +120,7 @@ using ApproxFunOrthogonalPolynomials, ApproxFunBase, SpecialFunctions, LazyArray
end

@testset "Union of intervals" begin
x=Fun(identity,Domain(-2..15) \ [-1,0])
x=Fun(identity,(-2..15) \ [-1,0])
sp=space(x)

B = [Dirichlet(sp);continuity(sp,0:1)]
Expand Down
2 changes: 1 addition & 1 deletion test/SpeedODETest.jl
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ println("Complex exp: Time should be 0.03")


## Piecewise
x=Fun(identity,Domain(-20..15) \ Set([-10.,-5.,0.,1.]))
x=Fun(identity,Domain(-20..15) \ [-10.,-5.,0.,1.])
sp=space(x)
D=Derivative(sp)
B=[Dirichlet(sp);continuity(sp,0:1)]
Expand Down