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

Go to the source code of this file.

Namespaces

namespace  igl
 

Functions

template<typename T >
void igl::unique (const std::vector< T > &A, std::vector< T > &C, std::vector< size_t > &IA, std::vector< size_t > &IC)
 Act like matlab's [C,IA,IC] = unique(X)
 
template<typename T >
void igl::unique (const std::vector< T > &A, std::vector< T > &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 DerivedA , typename DerivedC , typename DerivedIA , typename DerivedIC >
void igl::unique (const Eigen::MatrixBase< DerivedA > &A, Eigen::PlainObjectBase< DerivedC > &C, Eigen::PlainObjectBase< DerivedIA > &IA, Eigen::PlainObjectBase< DerivedIC > &IC)
 This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
 
template<typename DerivedA , typename DerivedC >
void igl::unique (const Eigen::MatrixBase< DerivedA > &A, Eigen::PlainObjectBase< DerivedC > &C)
 This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.