We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 60d6e11 commit c7be758Copy full SHA for c7be758
src/AliasScalarSampling.jl
@@ -13,9 +13,11 @@ Example
13
struct AliasingScalarSampler
14
domain::Vector{Float64}
15
weights::StatsBase.ProbabilityWeights
16
- AliasingScalarSampler() = new()
17
- AliasingScalarSampler(x::Vector{<:Real}, p_x::Vector{<:Real}; SNRfloor::Float64=0.0) = begin
18
-
+ # inner constructor
+ function AliasingScalarSampler( x::Vector{<:Real},
+ p_x::Vector{<:Real};
19
+ SNRfloor::Float64=0.0 )
20
+ #
21
# pxf = Float64.(p_x)
22
# pxf .-= quantile(pxf, SNRfloor)
23
# pxf[pxf .< 0.0] = 0.0
0 commit comments