123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869 |
- #ifndef IGL_SLICE_CACHED_H
- #define IGL_SLICE_CACHED_H
- #include "igl_inline.h"
- #define EIGEN_YES_I_KNOW_SPARSE_MODULE_IS_NOT_STABLE_YET
- #include <Eigen/Dense>
- #include <Eigen/Sparse>
- namespace igl
- {
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- template <typename TX, typename TY, typename DerivedI>
- IGL_INLINE void slice_cached_precompute(
- const Eigen::SparseMatrix<TX>& X,
- const Eigen::Matrix<int,Eigen::Dynamic,1> & R,
- const Eigen::Matrix<int,Eigen::Dynamic,1> & C,
- Eigen::MatrixBase<DerivedI>& data,
- Eigen::SparseMatrix<TY>& Y
- );
- template <typename TX, typename TY, typename DerivedI>
- IGL_INLINE void slice_cached(
- const Eigen::SparseMatrix<TX>& X,
- const Eigen::MatrixBase<DerivedI>& data,
- Eigen::SparseMatrix<TY>& Y
- );
- }
- #ifndef IGL_STATIC_LIBRARY
- # include "slice_cached.cpp"
- #endif
- #endif
|