52 virtual std::vector<simplex::Simplex>
domain(
PrimitiveType primitive_type() const
int64_t embedded_dimension() const
Function(Mesh &mesh, const attribute::MeshAttributeHandle &handle)
const Mesh & mesh() const
PrimitiveType attribute_type() const
virtual Eigen::MatrixXd get_hessian(const simplex::Simplex &variable_simplex) const =0
get_hessian evaluates the hessian of the function f(x) defined wrt the variable x.
virtual std::vector< simplex::Simplex > domain(const simplex::Simplex &variable_simplex) const =0
attribute::MeshAttributeHandle m_handle
virtual double get_value(const simplex::Simplex &variable_simplex) const =0
Given a function f(x), get_value evaluate the function at the input simplex.
virtual Eigen::VectorXd get_gradient(const simplex::Simplex &variable_simplex) const =0
get_gradient evaluates the gradient of the function f(x) defined wrt the variable x.
const attribute::MeshAttributeHandle & attribute_handle() const