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

Go to the source code of this file.

Namespaces

namespace  igl
 

Functions

template<typename TX , typename TY , typename DerivedR , typename DerivedC >
void igl::slice_sorted (const Eigen::SparseMatrix< TX > &X, const Eigen::DenseBase< DerivedR > &R, const Eigen::DenseBase< DerivedC > &C, Eigen::SparseMatrix< TY > &Y)
 Act like the matlab X(row_indices,col_indices) operator, where row_indices, col_indices are non-negative integer indices.