libigl v2.5.0
Loading...
Searching...
No Matches
pinv.h
Go to the documentation of this file.
1#ifndef IGL_PINV_H
2#define IGL_PINV_H
3#include "igl_inline.h"
4#include <Eigen/Core>
5namespace igl
6{
16 template <typename DerivedA, typename DerivedX>
17 void pinv(
18 const Eigen::MatrixBase<DerivedA> & A,
19 typename DerivedA::Scalar tol,
20 Eigen::PlainObjectBase<DerivedX> & X);
22 template <typename DerivedA, typename DerivedX>
23 void pinv(
24 const Eigen::MatrixBase<DerivedA> & A,
25 Eigen::PlainObjectBase<DerivedX> & X);
26}
27#ifndef IGL_STATIC_LIBRARY
28# include "pinv.cpp"
29#endif
30#endif
Definition AABB.h:17
void pinv(const Eigen::MatrixBase< DerivedA > &A, typename DerivedA::Scalar tol, Eigen::PlainObjectBase< DerivedX > &X)
Compute the Moore-Penrose pseudoinverse.