Base class of all automatic differentiation types.
More...
#include <mitsuba/core/autodiff.h>
|
|
static void | setVariableCount (size_t value) |
| Set the independent variable count used by the automatic differentiation layer. More...
|
|
static size_t | getVariableCount () |
| Get the variable count used by the automatic differentiation layer. More...
|
|
Base class of all automatic differentiation types.
This class records the number of independent variables with respect to which derivatives are computed.
static size_t DiffScalarBase::getVariableCount |
( |
| ) |
|
|
inlinestatic |
Get the variable count used by the automatic differentiation layer.
static void DiffScalarBase::setVariableCount |
( |
size_t |
value | ) |
|
|
inlinestatic |
Set the independent variable count used by the automatic differentiation layer.
This function must be called before doing any computations with DScalar1 or DScalar2. The value will be recorded in thread-local storage.
__thread size_t DiffScalarBase::m_variableCount |
|
static |
The documentation for this struct was generated from the following file: