libigl v2.5.0
Loading...
Searching...
No Matches
hessian.h
Go to the documentation of this file.
1// This file is part of libigl, a simple c++ geometry processing library.
2//
3// Copyright (C) 2017 Alec Jacobson <alecjacobson@gmail.com>
4// and Oded Stein <oded.stein@columbia.edu>
5//
6// This Source Code Form is subject to the terms of the Mozilla Public License
7// v. 2.0. If a copy of the MPL was not distributed with this file, You can
8// obtain one at http://mozilla.org/MPL/2.0/.
9
10#ifndef IGL_HESSIAN_H
11#define IGL_HESSIAN_H
12#include "igl_inline.h"
13
14#include <Eigen/Dense>
15#include <Eigen/Sparse>
16
17
18namespace igl
19{
34 template <typename DerivedV, typename DerivedF, typename Scalar>
36 const Eigen::MatrixBase<DerivedV> & V,
37 const Eigen::MatrixBase<DerivedF> & F,
38 Eigen::SparseMatrix<Scalar>& H);
39
40}
41
42#ifndef IGL_STATIC_LIBRARY
43# include "hessian.cpp"
44#endif
45
46#endif
#define IGL_INLINE
Definition igl_inline.h:15
Definition AABB.h:17
void hessian(const Eigen::MatrixBase< DerivedV > &V, const Eigen::MatrixBase< DerivedF > &F, Eigen::SparseMatrix< Scalar > &H)
Constructs the finite element Hessian matrix as described in https://arxiv.org/abs/1707....