AlgebraPDF.noparsnormfMethod

noparsnormf(d::AbstractPDF; p=pars(d))

Returns a single-argument lambda-function with parameters fixed to p and normalization computed.

AlgebraPDF.ntFunction
nt(s::Symbol, v = 0.0)

Creates a named tuple (s=v,) where s is a provided symbol, and v is the value.

AlgebraPDF.updatevalueorflagFunction
updatevalueorflag(p::FlaggedNamedTuple, s::Symbol, isfree::Bool, v=getproperty(pars(p),s))

Implementation of the main update method for FlaggedNamedTuple parameters.

AlgebraPDF.@makefuntypeMacro
@makefuntype MyPDF(x;p) = unnormdensity(x, p.a, p.b)

Expected form of the expression is `f(x;p)` on the left
AlgebraPDF.@makepdftypeMacro
@makepdftype MyPDF(x;p) = unnormdensity(x, p.a, p.b)

Expected form of the expression is `f(x;p)` on the left