36template <
typename Matrix>
76template <
typename Matrix>
79 -> Eigen::CwiseNullaryOp<impl::dense_diff_matrix_functor<Matrix>, Matrix> {
80 return Matrix::NullaryExpr(
91template <
typename Matrix>
93 -> Eigen::CwiseNullaryOp<impl::dense_diff_matrix_functor<Matrix>, Matrix> {
Definition of assertion macros.
#define NUM_COLLECT_ASSERT(CONDITION)
Macro to check whether a condition is satisfied.
Helper class to create a dense differential matrix.
typename Matrix::Scalar scalar_type
Type of scalars.
dense_diff_matrix_functor()=default
Constructor.
auto operator()(num_collect::index_type row, num_collect::index_type col) const -> scalar_type
Get an element.
Definition of index_type type.
std::ptrdiff_t index_type
Type of indices in this library.
Namespace of regularization.
auto dense_diff_matrix(num_collect::index_type rows, num_collect::index_type cols) -> Eigen::CwiseNullaryOp< impl::dense_diff_matrix_functor< Matrix >, Matrix >
Create a dense differential matrix.