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

Go to the source code of this file.

Namespaces

namespace  igl

Functions

template<typename XType, typename YType>
void igl::slice_mask (const Eigen::SparseMatrix< XType > &X, const Eigen::Array< bool, Eigen::Dynamic, 1 > &R, const Eigen::Array< bool, Eigen::Dynamic, 1 > &C, Eigen::SparseMatrix< YType > &Y)
 Act like the matlab X(row_mask,col_mask) operator, where row_mask, col_mask are non-negative integer indices.
template<typename XType, typename YType>
void igl::slice_mask (const Eigen::SparseMatrix< XType > &X, const Eigen::Array< bool, Eigen::Dynamic, 1 > &R, const int dim, Eigen::SparseMatrix< YType > &Y)
 This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
template<typename DerivedX, typename DerivedY>
void igl::slice_mask (const Eigen::DenseBase< DerivedX > &X, const Eigen::Array< bool, Eigen::Dynamic, 1 > &R, const Eigen::Array< bool, Eigen::Dynamic, 1 > &C, Eigen::PlainObjectBase< DerivedY > &Y)
 This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
template<typename DerivedX, typename DerivedY>
void igl::slice_mask (const Eigen::DenseBase< DerivedX > &X, const Eigen::Array< bool, Eigen::Dynamic, 1 > &R, const int dim, Eigen::PlainObjectBase< DerivedY > &Y)
template<typename DerivedX>
DerivedX igl::slice_mask (const Eigen::DenseBase< DerivedX > &X, const Eigen::Array< bool, Eigen::Dynamic, 1 > &R, const Eigen::Array< bool, Eigen::Dynamic, 1 > &C)
 This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
template<typename DerivedX>
DerivedX igl::slice_mask (const Eigen::DenseBase< DerivedX > &X, const Eigen::Array< bool, Eigen::Dynamic, 1 > &R, const int dim)
 This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.