AlgebraPDF.noparsnormf
— Methodnoparsnormf(d::AbstractPDF; p=pars(d))
Returns a single-argument lambda-function with parameters fixed to p
and normalization computed.
AlgebraPDF.nt
— Functionnt(s::Symbol, v = 0.0)
Creates a named tuple (s=v,)
where s
is a provided symbol, and v
is the value.
AlgebraPDF.updatevalueorflag
— Functionupdatevalueorflag(p::FlaggedNamedTuple, s::Symbol, isfree::Bool, v=getproperty(pars(p),s))
Implementation of the main update method for FlaggedNamedTuple
parameters.
AlgebraPDF.@makefuntype
— Macro@makefuntype MyPDF(x;p) = unnormdensity(x, p.a, p.b)
Expected form of the expression is `f(x;p)` on the left
AlgebraPDF.@makepdftype
— Macro@makepdftype MyPDF(x;p) = unnormdensity(x, p.a, p.b)
Expected form of the expression is `f(x;p)` on the left