Skip to content

Commit 065521a

Browse files
committed
move scaleshiftdomain
1 parent 027c436 commit 065521a

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/specialfunctions.jl

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,6 @@
33
# project to interval if we are not on the interview
44
# TODO: need to work out how to set piecewise domain
55

6-
7-
scaleshiftdomain(f::Fun,sc,sh) = setdomain(f,sc*domain(f)+sh)
8-
96
/(c::Number,f::Fun{S}) where {S<:ContinuousSpace} = Fun(map(f->c/f,components(f)),PiecewiseSpace)
107
^(f::Fun{S},c::Integer) where {S<:ContinuousSpace} = Fun(map(f->f^c,components(f)),PiecewiseSpace)
118
^(f::Fun{S},c::Number) where {S<:ContinuousSpace} = Fun(map(f->f^c,components(f)),PiecewiseSpace)

0 commit comments

Comments
 (0)