petsc4py.typing.TAOObjectiveFunction#

petsc4py.typing.TAOObjectiveFunction#

TAO objective function callback.

alias of Callable[[TAO, Vec], float]