problems

A callable to be “solved” (i.e. minimized or sampled).

Classes

AbstractProblem()

Abstract base class for callables to be "solved" (i.e. minimized or sampled).

PriorPenalized(problem)

A problem penalized by the negative log prior of its parameters, in declared space.

SummedTerms(model, terms)

A problem summing a set of terms over a tree of parameters.

Functions

_joint_prior_residual(slots)

Returns the prior residual $L_0^{-1}(theta - mu)$ of one joint multivariate normal prior at the physical values its slots were matched with, one vector per batch element.

_prior_residual(distribution, value)

Returns the prior residual of a value under its physical-space prior, or None.

problem_terms(problem, name)

Returns the terms of a problem, looking through any wrappers.