problem_terms
- pmrf.problems.problem_terms(problem: AbstractProblem, name: str) tuple[Callable[[Model], Array], ...]
Returns the terms of a problem, looking through any wrappers.
- Raises:
ValueError – If the problem is not built from terms, in which case it should be inspected directly.