Skip to content

Commit 1a9877e

Browse files
authored
traits in size/bandwidths in wrapperstructure (#485)
* traits in size/bandwidths in wrapperstructure * define HasWrapperStructure methods in an eval loop * move bandwidth and friends * wrapper traits and conflict with functional
1 parent 997311a commit 1a9877e

File tree

7 files changed

+237
-139
lines changed

7 files changed

+237
-139
lines changed

src/ApproxFunBase.jl

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ using AbstractFFTs: Plan
1919

2020
import Base: values, convert, getindex, setindex!, *, +, -, ==, <, <=, >, |, !,
2121
!=, eltype, iterate, /, ^, \,
22-
transpose, size, tail, broadcast, broadcast!, copyto!, copy,
22+
transpose, size, ndims, tail, broadcast, broadcast!, copyto!, copy,
2323
to_index, (:), similar, map, vcat, hcat, hvcat, show, summary,
2424
stride, sum, cumsum, imag, conj, inv, complex, reverse, exp,
2525
sqrt, abs, abs2, sign, issubset, in, first, last, rand, intersect,
@@ -96,6 +96,8 @@ import DomainSets: dimension
9696

9797
import IntervalSets: (..), endpoints
9898

99+
using SimpleTraits
100+
99101
const Vec{d,T} = SVector{d,T}
100102

101103
export pad!, pad, chop!, sample,

0 commit comments

Comments
 (0)