Skip to content

Commit 65df07d

Browse files
committed
reorg
1 parent 779a69e commit 65df07d

File tree

7 files changed

+12
-11
lines changed

7 files changed

+12
-11
lines changed

src/Disk/Disk.jl

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
using ApproxFun
2-
f = (x,y) -> x*y+cos(y-0.1)+sin(x)+1; ff = Fun((r,θ) -> f(r*cos(θ),r*sin(θ)), (-1..1) × PeriodicSegment());
3-
ApproxFunBase.coefficientmatrix(ff)
1+
export ChebyshevDisk
42

53
struct ChebyshevDisk{V,T} <: Space{Disk{V},T}
64
domain::Disk{V}
@@ -17,14 +15,14 @@ function points(S::ChebyshevDisk, N)
1715
fromcanonical.(Ref(S.domain), polar.(pts))
1816
end
1917

20-
plan_transform(S::DuffyTriangle, n::AbstractVector) =
18+
plan_transform(S::ChebyshevDisk, n::AbstractVector) =
2119
TransformPlan(S, plan_transform(rectspace(S),n), Val{false})
22-
plan_itransform(S::DuffyTriangle, n::AbstractVector) =
20+
plan_itransform(S::ChebyshevDisk, n::AbstractVector) =
2321
ITransformPlan(S, plan_itransform(rectspace(S),n), Val{false})
2422

2523

26-
*(P::TransformPlan{<:Any,<:DuffyTriangle}, v::AbstractArray) = checkerboard(P.plan*v)
27-
*(P::ITransformPlan{<:Any,<:DuffyTriangle}, v::AbstractArray) = P.plan*icheckerboard(v)
24+
*(P::TransformPlan{<:Any,<:ChebyshevDisk}, v::AbstractArray) = checkerboard(P.plan*v)
25+
*(P::ITransformPlan{<:Any,<:ChebyshevDisk}, v::AbstractArray) = P.plan*icheckerboard(v)
2826

29-
evaluate(cfs::AbstractVector, S::DuffyTriangle, x) = evaluate(cfs, rectspace(S), ipolar(tocanonical(S.domain,x)))
27+
evaluate(cfs::AbstractVector, S::ChebyshevDisk, x) = evaluate(cfs, rectspace(S), ipolar(tocanonical(S.domain,x)))
3028

src/MultivariateOrthogonalPolynomials.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import BandedMatrices: inbands_getindex, inbands_setindex!
1313
import BlockArrays: blocksizes, BlockSizes, getblock, global2blockindex
1414

1515
# ApproxFun general import
16-
import ApproxFunBase: BandedMatrix, order, blocksize,
16+
import ApproxFunBase: BandedMatrix, blocksize,
1717
linesum,complexlength, BandedBlockBandedMatrix,
1818
real, eps, isapproxinteger, FiniteRange, DFunction,
1919
TransformPlan, ITransformPlan
@@ -43,7 +43,7 @@ import ApproxFunBase: ConstantSpace, NoSpace, prectype,
4343
union_rule, coefficients, RealUnivariateSpace, PiecewiseSegment, rangetype, cfstype
4444

4545
# Multivariate import
46-
import ApproxFun: Domain2d, DirectSumSpace, AbstractProductSpace, factor,
46+
import ApproxFunBase: Domain2d, DirectSumSpace, AbstractProductSpace, factor,
4747
BivariateFun, ProductFun, LowRankFun, lap, columnspace,
4848
blockbandwidths, subblockbandwidths, fromtensor, totensor, isbandedblockbanded,
4949
Tensorizer, tensorizer, block, blockstart, blockstop, blocklengths,
@@ -56,7 +56,7 @@ import ApproxFunBase: WeightSpace, weight
5656
import ApproxFunBase: Vec
5757

5858
# Jacobi import
59-
import ApproxFunOrthogonalPolynomials: jacobip, JacobiSD, PolynomialSpace
59+
import ApproxFunOrthogonalPolynomials: jacobip, JacobiSD, PolynomialSpace, order
6060

6161

6262

File renamed without changes.

test/test_disk.jl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
using ApproxFun
2+
f = (x,y) -> x*y+cos(y-0.1)+sin(x)+1; ff = Fun((r,θ) -> f(r*cos(θ),r*sin(θ)), (-1..1) × PeriodicSegment());
3+
ApproxFunBase.coefficientmatrix(ff)
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)