libigl v2.5.0
Loading...
Searching...
No Matches
slice_cached.h File Reference
#include "igl_inline.h"
#include <Eigen/Dense>
#include <Eigen/Sparse>
#include "slice_cached.cpp"

Go to the source code of this file.

Namespaces

namespace  igl
 

Macros

#define EIGEN_YES_I_KNOW_SPARSE_MODULE_IS_NOT_STABLE_YET
 

Functions

template<typename TX , typename TY , typename DerivedI >
void igl::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)
 Act like the matlab X(row_indices,col_indices) operator, where row_indices, col_indices are non-negative integer indices.
 
template<typename TX , typename TY , typename DerivedI >
void igl::slice_cached (const Eigen::SparseMatrix< TX > &X, const Eigen::MatrixBase< DerivedI > &data, Eigen::SparseMatrix< TY > &Y)
 Slice X by cached C,R indices into Y.
 

Macro Definition Documentation

◆ EIGEN_YES_I_KNOW_SPARSE_MODULE_IS_NOT_STABLE_YET

#define EIGEN_YES_I_KNOW_SPARSE_MODULE_IS_NOT_STABLE_YET