libigl v2.5.0
Loading...
Searching...
No Matches
quadprog.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) 2015 Alec Jacobson <alecjacobson@gmail.com>
4//
5// This Source Code Form is subject to the terms of the Mozilla Public License
6// v. 2.0. If a copy of the MPL was not distributed with this file, You can
7// obtain one at http://mozilla.org/MPL/2.0/.
8#ifndef IGL_COPYLEFT_QUADPROG_H
9#define IGL_COPYLEFT_QUADPROG_H
10
11#include "../igl_inline.h"
12#include <Eigen/Dense>
13namespace igl
14{
15 namespace copyleft
16 {
32 const Eigen::MatrixXd & G,
33 const Eigen::VectorXd & g0,
34 const Eigen::MatrixXd & CE,
35 const Eigen::VectorXd & ce0,
36 const Eigen::MatrixXd & CI,
37 const Eigen::VectorXd & ci0,
38 Eigen::VectorXd& x);
39 }
40}
41
42#ifndef IGL_STATIC_LIBRARY
43# include "quadprog.cpp"
44#endif
45
46#endif
#define IGL_INLINE
Definition igl_inline.h:15
bool quadprog(const Eigen::MatrixXd &G, const Eigen::VectorXd &g0, const Eigen::MatrixXd &CE, const Eigen::VectorXd &ce0, const Eigen::MatrixXd &CI, const Eigen::VectorXd &ci0, Eigen::VectorXd &x)
Solve a (dense) convex quadratric program.
Definition AABB.h:17