Commit d14f9e50e0efd74acf796588e33e01ca49764ced
1 parent
cd8e3d0a
Header file update
Showing
1 changed file
with
3 additions
and
0 deletions
openbr/core/eigenutils.h
| ... | ... | @@ -29,6 +29,9 @@ void printEigen(Eigen::MatrixXd X); |
| 29 | 29 | void printEigen(Eigen::MatrixXf X); |
| 30 | 30 | void printSize(Eigen::MatrixXf X); |
| 31 | 31 | |
| 32 | +//Remove row and column from the matrix | |
| 33 | +Eigen::MatrixXf removeRowCol(Eigen::MatrixXf X, int row, int col); | |
| 34 | + | |
| 32 | 35 | template<typename _Scalar, int _Rows, int _Cols, int _Options, int _MaxRows, int _MaxCols> |
| 33 | 36 | inline QDataStream &operator<<(QDataStream &stream, const Eigen::Matrix< _Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols > &mat) |
| 34 | 37 | { | ... | ... |