23template <SquareMatrix Mat,
62 template <MatrixContainer MatX>
78 constexpr auto apply(
const Vec& x)
const {
return H * x; }
89 constexpr auto apply(
const T&
a)
const {
return a *
H; }
DifferentialType
differential type
constexpr std::size_t mat_rows_v
Registered compile-time row count after cv/ref normalization.
Endomorphism operator CRTP base.
matrix_scalar_t< Mat > T
alias helpers for types
static constexpr std::size_t N
helper to extract N
Hessian as a linear operator.
constexpr auto apply(const MatX &X) const
apply
constexpr Hessian(const Mat &A)
CTOR.
matrix_scalar_t< Mat > T
alias helpers for types
static constexpr std::size_t N
helper from base to get num rows
constexpr auto apply(const Vec &x) const
apply
constexpr auto apply(const T &a) const
apply
constexpr bool is_pullback() const
is pullback
constexpr auto operator()(std::size_t i, std::size_t j) const
get element at (i,j)
Owning, fixed-size vector container.