@@ -74,13 +74,15 @@ function RegularizationSmooth(u::AbstractVector, t::AbstractVector, t̂::Abstrac
7474 extrapolation_left:: ExtrapolationType.T = ExtrapolationType. None,
7575 extrapolation_right:: ExtrapolationType.T = ExtrapolationType. None,
7676 cache_parameters:: Bool = false )
77- extrapolation_left, extrapolation_right = munge_extrapolation (
77+ extrapolation_left,
78+ extrapolation_right = munge_extrapolation (
7879 extrapolation, extrapolation_left, extrapolation_right)
7980 u, t = munge_data (u, t; check_sorted = t̂, sorted_arg_name = (" third" , " t̂" ))
8081 M = _mapping_matrix (t̂, t)
8182 Wls½ = LA. diagm (sqrt .(wls))
8283 Wr½ = LA. diagm (sqrt .(wr))
83- û, λ, Aitp = _reg_smooth_solve (
84+ û, λ,
85+ Aitp = _reg_smooth_solve (
8486 u, t̂, d, M, Wls½, Wr½, λ, alg, extrapolation_left,
8587 extrapolation_right, cache_parameters)
8688 RegularizationSmooth (
@@ -100,15 +102,17 @@ function RegularizationSmooth(u::AbstractVector, t::AbstractVector, d::Int = 2;
100102 extrapolation_left:: ExtrapolationType.T = ExtrapolationType. None,
101103 extrapolation_right:: ExtrapolationType.T = ExtrapolationType. None,
102104 cache_parameters:: Bool = false )
103- extrapolation_left, extrapolation_right = munge_extrapolation (
105+ extrapolation_left,
106+ extrapolation_right = munge_extrapolation (
104107 extrapolation, extrapolation_left, extrapolation_right)
105108 u, t = munge_data (u, t)
106109 t̂ = t
107110 N = length (t)
108111 M = Array {Float64} (LA. I, N, N)
109112 Wls½ = Array {Float64} (LA. I, N, N)
110113 Wr½ = Array {Float64} (LA. I, N - d, N - d)
111- û, λ, Aitp = _reg_smooth_solve (
114+ û, λ,
115+ Aitp = _reg_smooth_solve (
112116 u, t̂, d, M, Wls½, Wr½, λ, alg, extrapolation_left,
113117 extrapolation_right, cache_parameters)
114118 RegularizationSmooth (u,
@@ -137,14 +141,16 @@ function RegularizationSmooth(u::AbstractVector, t::AbstractVector, t̂::Abstrac
137141 extrapolation_left:: ExtrapolationType.T = ExtrapolationType. None,
138142 extrapolation_right:: ExtrapolationType.T = ExtrapolationType. None,
139143 cache_parameters:: Bool = false )
140- extrapolation_left, extrapolation_right = munge_extrapolation (
144+ extrapolation_left,
145+ extrapolation_right = munge_extrapolation (
141146 extrapolation, extrapolation_left, extrapolation_right)
142147 u, t = munge_data (u, t; check_sorted = t̂, sorted_arg_name = (" third" , " t̂" ))
143148 N, N̂ = length (t), length (t̂)
144149 M = _mapping_matrix (t̂, t)
145150 Wls½ = Array {Float64} (LA. I, N, N)
146151 Wr½ = Array {Float64} (LA. I, N̂ - d, N̂ - d)
147- û, λ, Aitp = _reg_smooth_solve (
152+ û, λ,
153+ Aitp = _reg_smooth_solve (
148154 u, t̂, d, M, Wls½, Wr½, λ, alg, extrapolation_left,
149155 extrapolation_right, cache_parameters)
150156 RegularizationSmooth (u,
@@ -174,14 +180,16 @@ function RegularizationSmooth(u::AbstractVector, t::AbstractVector, t̂::Abstrac
174180 extrapolation_left:: ExtrapolationType.T = ExtrapolationType. None,
175181 extrapolation_right:: ExtrapolationType.T = ExtrapolationType. None,
176182 cache_parameters:: Bool = false )
177- extrapolation_left, extrapolation_right = munge_extrapolation (
183+ extrapolation_left,
184+ extrapolation_right = munge_extrapolation (
178185 extrapolation, extrapolation_left, extrapolation_right)
179186 u, t = munge_data (u, t; check_sorted = t̂, sorted_arg_name = (" third" , " t̂" ))
180187 N, N̂ = length (t), length (t̂)
181188 M = _mapping_matrix (t̂, t)
182189 Wls½ = LA. diagm (sqrt .(wls))
183190 Wr½ = Array {Float64} (LA. I, N̂ - d, N̂ - d)
184- û, λ, Aitp = _reg_smooth_solve (
191+ û, λ,
192+ Aitp = _reg_smooth_solve (
185193 u, t̂, d, M, Wls½, Wr½, λ, alg, extrapolation_left,
186194 extrapolation_right, cache_parameters)
187195 RegularizationSmooth (u,
@@ -212,15 +220,17 @@ function RegularizationSmooth(u::AbstractVector, t::AbstractVector, t̂::Nothing
212220 extrapolation_left:: ExtrapolationType.T = ExtrapolationType. None,
213221 extrapolation_right:: ExtrapolationType.T = ExtrapolationType. None,
214222 cache_parameters:: Bool = false )
215- extrapolation_left, extrapolation_right = munge_extrapolation (
223+ extrapolation_left,
224+ extrapolation_right = munge_extrapolation (
216225 extrapolation, extrapolation_left, extrapolation_right)
217226 u, t = munge_data (u, t)
218227 t̂ = t
219228 N = length (t)
220229 M = Array {Float64} (LA. I, N, N)
221230 Wls½ = LA. diagm (sqrt .(wls))
222231 Wr½ = Array {Float64} (LA. I, N - d, N - d)
223- û, λ, Aitp = _reg_smooth_solve (
232+ û, λ,
233+ Aitp = _reg_smooth_solve (
224234 u, t̂, d, M, Wls½, Wr½, λ, alg, extrapolation_left,
225235 extrapolation_right, cache_parameters)
226236 RegularizationSmooth (u,
@@ -251,15 +261,17 @@ function RegularizationSmooth(u::AbstractVector, t::AbstractVector, t̂::Nothing
251261 extrapolation_left:: ExtrapolationType.T = ExtrapolationType. None,
252262 extrapolation_right:: ExtrapolationType.T = ExtrapolationType. None,
253263 cache_parameters:: Bool = false )
254- extrapolation_left, extrapolation_right = munge_extrapolation (
264+ extrapolation_left,
265+ extrapolation_right = munge_extrapolation (
255266 extrapolation, extrapolation_left, extrapolation_right)
256267 u, t = munge_data (u, t)
257268 t̂ = t
258269 N = length (t)
259270 M = Array {Float64} (LA. I, N, N)
260271 Wls½ = LA. diagm (sqrt .(wls))
261272 Wr½ = LA. diagm (sqrt .(wr))
262- û, λ, Aitp = _reg_smooth_solve (
273+ û, λ,
274+ Aitp = _reg_smooth_solve (
263275 u, t̂, d, M, Wls½, Wr½, λ, alg, extrapolation_left,
264276 extrapolation_right, cache_parameters)
265277 RegularizationSmooth (u,
@@ -289,7 +301,8 @@ function RegularizationSmooth(u::AbstractVector, t::AbstractVector, t̂::Nothing
289301 extrapolation_left:: ExtrapolationType.T = ExtrapolationType. None,
290302 extrapolation_right:: ExtrapolationType.T = ExtrapolationType. None,
291303 cache_parameters:: Bool = false )
292- extrapolation_left, extrapolation_right = munge_extrapolation (
304+ extrapolation_left,
305+ extrapolation_right = munge_extrapolation (
293306 extrapolation, extrapolation_left, extrapolation_right)
294307 u, t = munge_data (u, t)
295308 t̂ = t
@@ -298,7 +311,8 @@ function RegularizationSmooth(u::AbstractVector, t::AbstractVector, t̂::Nothing
298311 wls, wr = _weighting_by_kw (t, d, wls)
299312 Wls½ = LA. diagm (sqrt .(wls))
300313 Wr½ = LA. diagm (sqrt .(wr))
301- û, λ, Aitp = _reg_smooth_solve (
314+ û, λ,
315+ Aitp = _reg_smooth_solve (
302316 u, t̂, d, M, Wls½, Wr½, λ, alg, extrapolation_left,
303317 extrapolation_right, cache_parameters)
304318 RegularizationSmooth (u,
0 commit comments