KJB
|
Wraps Scene_gradient to work with ergo::hmc_step. More...
#include <pt_scene_diff.h>
Public Member Functions | |
Gradient_adapter (const G &grad) | |
Construct a gradient adapter that wraps 'grad'. More... | |
template<class M > | |
vec_t | operator() (const M &m) const |
Computes the gradient numerically. More... | |
Wraps Scene_gradient to work with ergo::hmc_step.
|
inline |
Construct a gradient adapter that wraps 'grad'.
|
inline |
Computes the gradient numerically.