libigl v2.5.0
Loading...
Searching...
No Matches
grid_search.h
Go to the documentation of this file.
1#ifndef IGL_GRID_SEARCH_H
2#define IGL_GRID_SEARCH_H
3#include "igl_inline.h"
4#include <Eigen/Core>
5#include <functional>
6namespace igl
7{
22 template <
23 typename Scalar,
24 typename DerivedX,
25 typename DerivedLB,
26 typename DerivedUB,
27 typename DerivedI>
29 const std::function< Scalar (DerivedX &) > f,
30 const Eigen::MatrixBase<DerivedLB> & LB,
31 const Eigen::MatrixBase<DerivedUB> & UB,
32 const Eigen::MatrixBase<DerivedI> & I,
33 DerivedX & X);
34}
35
36#ifndef IGL_STATIC_LIBRARY
37# include "grid_search.cpp"
38#endif
39
40#endif
#define IGL_INLINE
Definition igl_inline.h:15
Definition AABB.h:17
Scalar grid_search(const std::function< Scalar(DerivedX &) > f, const Eigen::MatrixBase< DerivedLB > &LB, const Eigen::MatrixBase< DerivedUB > &UB, const Eigen::MatrixBase< DerivedI > &I, DerivedX &X)
Global optimization via grid search.