10 #ifndef EIGEN_AUTODIFF_JACOBIAN_H
11 #define EIGEN_AUTODIFF_JACOBIAN_H
25 template<
typename...
T>
30 typedef typename ValueType::Scalar
Scalar;
53 template<
typename... ParamsType>
55 const ParamsType&... Params)
const
61 Functor::operator()(
x,
v, Params...);
72 av[
j].derivatives().
resize(
x.rows());
77 Functor::operator()(ax, &av, Params...);
82 jac.row(
i) = av[
i].derivatives();
Array< int, Dynamic, 1 > v
Functor::InputType InputType
AutoDiffJacobian(const T &...Values)
Functor::ValueType ValueType
AutoDiffScalar< DerivativeType > ActiveScalar
Matrix< Scalar, InputsAtCompileTime, 1 > DerivativeType
Matrix< Scalar, ValuesAtCompileTime, InputsAtCompileTime > JacobianType
Matrix< ActiveScalar, ValuesAtCompileTime, 1 > ActiveValue
JacobianType::Index Index
Matrix< ActiveScalar, InputsAtCompileTime, 1 > ActiveInput
AutoDiffJacobian(const Functor &f)
void operator()(const InputType &x, ValueType *v) const
A scalar type replacement with automatic differentiation capability.
CoeffReturnType value() const
static const BasisReturnType Unit(Index i)
EIGEN_CONSTEXPR Index cols() const EIGEN_NOEXCEPT
EIGEN_CONSTEXPR Index rows() const EIGEN_NOEXCEPT
constexpr void resize(Index rows, Index cols)
: TensorContractionSycl.h, provides various tensor contraction kernel for SYCL backend