Skip to content

Commit f9cdbdf

Browse files
committed
Move over files
1 parent 5c11082 commit f9cdbdf

40 files changed

+5460
-0
lines changed

.DS_Store

6 KB
Binary file not shown.

.travis.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# Documentation: http://docs.travis-ci.com/user/languages/julia/
2+
language: julia
3+
os:
4+
- linux
5+
- osx
6+
julia:
7+
- "0.7"
8+
- "1.0"
9+
- "1.1"
10+
- nightly
11+
matrix:
12+
allow_failures:
13+
- julia: nightly
14+
- os: osx
15+
notifications:
16+
email: false
17+
after_script:
18+
- bash ./docs/travis.sh
19+
after_success:
20+
- julia -e 'cd(Pkg.dir("ApproxFunBase")); Pkg.add("Coverage"); using Coverage; Coveralls.submit(Coveralls.process_folder())'
21+
22+
23+
# uncomment the following lines to override the default test script
24+
#script:
25+
# - if [[ -a .git/shallow ]]; then git fetch --unshallow; fi
26+
# - julia -e 'Pkg.clone(pwd()); Pkg.build("MyPackage"); Pkg.test("MyPackage"; coverage=true)'

REQUIRE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
julia 0.7
2+
FastGaussQuadrature 0.3.2
3+
FastTransforms 0.4.2
4+
RecipesBase 0.5
5+
DualNumbers 0.4
6+
ToeplitzMatrices 0.4
7+
Calculus 0.1.15
8+
DomainSets 0.0.1
9+
IntervalSets 0.3.1
10+
StaticArrays 0.8.3
11+
BlockArrays 0.8
12+
BlockBandedMatrices 0.3.5
13+
BandedMatrices 0.9
14+
AbstractFFTs 0.3.1
15+
FFTW 0.2.4
16+
SpecialFunctions 0.7
17+
LowRankApprox 0.1.4
18+
FillArrays 0.5
19+
InfiniteArrays 0.0.3
20+
LazyArrays 0.7.1
21+
DSP 0.5.1

appveyor.yml

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
environment:
2+
matrix:
3+
- julia_version: 0.7
4+
- julia_version: 1
5+
- julia_version: 1.1
6+
- julia_version: nightly
7+
8+
platform:
9+
- x86 # 32-bit
10+
- x64 # 64-bit
11+
12+
# # Uncomment the following lines to allow failures on nightly julia
13+
# # (tests will run but not make your overall status red)
14+
# matrix:
15+
# allow_failures:
16+
# - julia_version: nightly
17+
18+
branches:
19+
only:
20+
- master
21+
- /release-.*/
22+
23+
notifications:
24+
- provider: Email
25+
on_build_success: false
26+
on_build_failure: false
27+
on_build_status_changed: false
28+
29+
install:
30+
- ps: iex ((new-object net.webclient).DownloadString("https://raw.githubusercontent.com/JuliaCI/Appveyor.jl/version-1/bin/install.ps1"))
31+
32+
build_script:
33+
- echo "%JL_BUILD_SCRIPT%"
34+
- C:\julia\bin\julia -e "%JL_BUILD_SCRIPT%"
35+
36+
test_script:
37+
- echo "%JL_TEST_SCRIPT%"
38+
- C:\julia\bin\julia -e "%JL_TEST_SCRIPT%"
39+
40+
# # Uncomment to support code coverage upload. Should only be enabled for packages
41+
# # which would have coverage gaps without running on Windows
42+
# on_success:
43+
# - echo "%JL_CODECOV_SCRIPT%"
44+
# - C:\julia\bin\julia -e "%JL_CODECOV_SCRIPT%"

src/ApproxFunBase.jl

Lines changed: 112 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,112 @@
1+
__precompile__()
2+
3+
module ApproxFunBase
4+
using Base, BlockArrays, BandedMatrices, BlockBandedMatrices, DomainSets, IntervalSets,
5+
SpecialFunctions, AbstractFFTs, FFTW, SpecialFunctions, DSP, DualNumbers, FastTransforms,
6+
LinearAlgebra, SparseArrays, LowRankApprox, FillArrays, InfiniteArrays #, Arpack
7+
import StaticArrays
8+
9+
import DomainSets: Domain, indomain, UnionDomain, ProductDomain, FullSpace, Point, elements, DifferenceDomain,
10+
Interval, ChebyshevInterval, boundary, ∂, rightendpoint, leftendpoint,
11+
dimension, Domain1d, Domain2d
12+
13+
import AbstractFFTs: Plan, fft, ifft
14+
import FFTW: plan_r2r!, fftwNumber, REDFT10, REDFT01, REDFT00, RODFT00, R2HC, HC2R,
15+
r2r!, r2r, plan_fft, plan_ifft, plan_ifft!, plan_fft!
16+
17+
18+
import Base: values, convert, getindex, setindex!, *, +, -, ==, <, <=, >, |, !, !=, eltype, iterate,
19+
>=, /, ^, \, , transpose, size, reindex, tail, broadcast, broadcast!, copyto!, copy, to_index, (:),
20+
similar, map, vcat, hcat, hvcat, show, summary, stride, sum, cumsum, sign, imag, conj, inv,
21+
complex, reverse, exp, sqrt, abs, abs2, sign, issubset, values, in, first, last, rand, intersect, setdiff,
22+
isless, union, angle, join, isnan, isapprox, isempty, sort, merge, promote_rule,
23+
minimum, maximum, extrema, argmax, argmin, findmax, findmin, isfinite,
24+
zeros, zero, one, promote_rule, repeat, length, resize!, isinf,
25+
getproperty, findfirst, unsafe_getindex, fld, cld, div, real, imag,
26+
@_inline_meta, eachindex, firstindex, lastindex, keys, isreal, OneTo,
27+
Array, Vector, Matrix, view, ones, @propagate_inbounds, print_array,
28+
split
29+
30+
import Base.Broadcast: BroadcastStyle, Broadcasted, AbstractArrayStyle, broadcastable,
31+
DefaultArrayStyle, broadcasted
32+
33+
import Statistics: mean
34+
35+
import LinearAlgebra: BlasInt, BlasFloat, norm, ldiv!, mul!, det, eigvals, dot, cross,
36+
qr, qr!, rank, isdiag, istril, istriu, issymmetric, ishermitian,
37+
Tridiagonal, diagm, diagm_container, factorize, nullspace,
38+
Hermitian, Symmetric, adjoint, transpose, char_uplo
39+
40+
import SparseArrays: blockdiag
41+
42+
# import Arpack: eigs
43+
44+
# we need to import all special functions to use Calculus.symbolic_derivatives_1arg
45+
# we can't do importall Base as we replace some Base definitions
46+
import SpecialFunctions: sinpi, cospi, airy, besselh,
47+
asinh, acosh,atanh, erfcx, dawson, erf, erfi,
48+
sin, cos, sinh, cosh, airyai, airybi, airyaiprime, airybiprime,
49+
hankelh1, hankelh2, besselj, besselj0, bessely, besseli, besselk,
50+
besselkx, hankelh1x, hankelh2x, exp2, exp10, log2, log10,
51+
tan, tanh, csc, asin, acsc, sec, acos, asec,
52+
cot, atan, acot, sinh, csch, asinh, acsch,
53+
sech, acosh, asech, tanh, coth, atanh, acoth,
54+
expm1, log1p, lfact, sinc, cosc, erfinv, erfcinv, beta, lbeta,
55+
eta, zeta, gamma, lgamma, polygamma, invdigamma, digamma, trigamma,
56+
abs, sign, log, expm1, tan, abs2, sqrt, angle, max, min, cbrt, log,
57+
atan, acos, asin, erfc, inv
58+
59+
import StaticArrays: SVector
60+
61+
import BlockArrays: nblocks, blocksize, global2blockindex, globalrange, BlockSizes
62+
63+
import BandedMatrices: bandrange, bandshift,
64+
inbands_getindex, inbands_setindex!, bandwidth, AbstractBandedMatrix,
65+
flipsign,
66+
colstart, colstop, colrange, rowstart, rowstop, rowrange,
67+
bandwidths, _BandedMatrix, BandedMatrix
68+
69+
import BlockBandedMatrices: blockbandwidth, blockbandwidths, blockcolstop, blockcolrange,
70+
blockcolstart, blockrowstop, blockrowstart, blockrowrange,
71+
subblockbandwidth, subblockbandwidths, _BlockBandedMatrix,
72+
_BandedBlockBandedMatrix, BandedBlockBandedMatrix, BlockBandedMatrix,
73+
isblockbanded, isbandedblockbanded, bb_numentries, BlockBandedSizes,
74+
BandedBlockBandedSizes
75+
76+
import FastTransforms: ChebyshevTransformPlan, IChebyshevTransformPlan, plan_chebyshevtransform,
77+
plan_chebyshevtransform!, plan_ichebyshevtransform, plan_ichebyshevtransform!
78+
79+
import FillArrays: AbstractFill, getindex_value
80+
import LazyArrays: cache
81+
import InfiniteArrays: Infinity, InfRanges, AbstractInfUnitRange, OneToInf
82+
83+
84+
# convenience for 1-d block ranges
85+
const BlockRange1 = BlockRange{1,Tuple{UnitRange{Int}}}
86+
87+
import Base: view
88+
89+
import StaticArrays: StaticArray, SVector
90+
91+
92+
import IntervalSets: (..), endpoints
93+
94+
const Vec{d,T} = SVector{d,T}
95+
96+
export pad!, pad, chop!, sample,
97+
complexroots, roots, svfft, isvfft,
98+
reverseorientation, jumplocations
99+
100+
##Testing
101+
export bisectioninv
102+
103+
export .., Interval, ChebyshevInterval, leftendpoint, rightendpoint, endpoints, cache
104+
105+
106+
107+
include("LinearAlgebra/LinearAlgebra.jl")
108+
include("Fun.jl")
109+
include("Domains/Domains.jl")
110+
111+
112+
end #module

0 commit comments

Comments
 (0)