You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
function LinearOperatorCollection.normalOperator(S::NFFTOpImpl{T}, W =opEye(eltype(S), size(S, 1), S= LinearOperators.storage_type(S)); copyOpsFn = copy, kwargs...) where T
165
+
function LinearOperatorCollection.normalOperator(S::NFFTOpImpl{T}, W =nothing; copyOpsFn = copy, kwargs...) where T
* `weights` - Optional weights for normal operator. Must already be of form `weights = adjoint.(w) .* w`
17
17
18
18
"""
19
-
function LinearOperatorCollection.NormalOp(::Type{T}; parent, weights =opEye(eltype(parent), size(parent, 1), S =storage_type(parent))) where T <:Number
19
+
function LinearOperatorCollection.NormalOp(::Type{T}; parent, weights =nothing) where T <:Number
20
20
returnNormalOp(T, parent, weights)
21
21
end
22
22
23
-
functionNormalOp(::Type{T}, parent, ::Nothing) where T
24
-
weights =opEye(eltype(parent), size(parent, 1), S =storage_type(parent))
25
-
returnNormalOp(T, parent, weights)
26
-
end
27
23
NormalOp(::Union{Type{T}, Type{Complex{T}}}, parent, weights::AbstractVector{T}) where T =NormalOp(T, parent, WeightingOp(weights))
28
24
29
-
NormalOp(::Union{Type{T}, Type{Complex{T}}}, parent, weights::AbstractLinearOperator{T}; kwargs...) where T =NormalOpImpl(parent, weights)
25
+
NormalOp(::Union{Type{T}, Type{Complex{T}}}, parent, weights; kwargs...) where T =NormalOpImpl(parent, weights)
0 commit comments