@@ -167,7 +167,7 @@ function prefiltering_system{T,TC}(::Type{T}, ::Type{TC}, n::Int,
167167 du[1 ] = dl[end ] = zero (T)
168168
169169 # Now Woodbury correction to set `[1, 3], [n, n-2] ==> 1`
170- specs = _build_woodbury_specs (T, n, (1 , 3 , one (T)), (n, n- 2 , one (T)))
170+ specs = WoodburyMatrices . sparse_factors (T, n, (1 , 3 , one (T)), (n, n- 2 , one (T)))
171171
172172 Woodbury (lufact! (Tridiagonal (dl, d, du), Val{false }), specs... ), zeros (TC, n)
173173end
@@ -187,7 +187,7 @@ function prefiltering_system{T,TC}(::Type{T}, ::Type{TC}, n::Int,
187187 # now need Woodbury correction to set :
188188 # - [1, 3] and [n, n-2] ==> -3
189189 # - [1, 4] and [n, n-3] ==> 1
190- specs = _build_woodbury_specs (T, n,
190+ specs = WoodburyMatrices . sparse_factors (T, n,
191191 (1 , 3 , T (- 3 )),
192192 (n, n- 2 , T (- 3 )),
193193 (1 , 4 , one (T)),
@@ -212,7 +212,7 @@ function prefiltering_system{T,TC}(::Type{T}, ::Type{TC}, n::Int,
212212 # now need Woodbury correction to set :
213213 # - [1, 3] and [n, n-2] ==> -3
214214 # - [1, 4] and [n, n-3] ==> 1
215- specs = _build_woodbury_specs (T, n,
215+ specs = WoodburyMatrices . sparse_factors (T, n,
216216 (1 , 3 , T (5 )),
217217 (n, n- 2 , T (5 )),
218218 (1 , 4 , - one (T)),
@@ -239,7 +239,7 @@ function prefiltering_system{T,TC}(::Type{T}, ::Type{TC}, n::Int,
239239
240240 # now need Woodbury correction to set :
241241 # - [1, 3] and [n, n-2] ==> 1
242- specs = _build_woodbury_specs (T, n,
242+ specs = WoodburyMatrices . sparse_factors (T, n,
243243 (1 , 3 , one (T)),
244244 (n, n- 2 , one (T)),
245245 )
@@ -251,7 +251,7 @@ function prefiltering_system{T,TC,GT<:GridType}(::Type{T}, ::Type{TC}, n::Int,
251251 :: Type{Cubic{Periodic}} , :: Type{GT} )
252252 dl, d, du = inner_system_diags (T,n,Cubic{Periodic})
253253
254- specs = _build_woodbury_specs (T, n,
254+ specs = WoodburyMatrices . sparse_factors (T, n,
255255 (1 , n, du[1 ]),
256256 (n, 1 , dl[end ])
257257 )
@@ -273,7 +273,7 @@ function prefiltering_system{T,TC,GT<:GridType}(::Type{T}, ::Type{TC}, n::Int,
273273 :: Type{Cubic{Free}} , :: Type{GT} )
274274 dl, d, du = inner_system_diags (T,n,Cubic{Periodic})
275275
276- specs = _build_woodbury_specs (T, n,
276+ specs = WoodburyMatrices . sparse_factors (T, n,
277277 (1 , n, du[1 ]),
278278 (n, 1 , dl[end ])
279279 )
0 commit comments