libigl v2.5.0
Loading...
Searching...
No Matches
sparse.h File Reference
#include "igl_inline.h"
#include <Eigen/Dense>
#include <Eigen/Sparse>
#include "sparse.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<class IndexVectorI , class IndexVectorJ , class ValueVector , typename T >
void igl::sparse (const IndexVectorI &I, const IndexVectorJ &J, const ValueVector &V, const size_t m, const size_t n, Eigen::SparseMatrix< T > &X)
 Build a sparse matrix from list of indices and values (I,J,V), functions like the sparse function in matlab.
 
template<class IndexVector , class ValueVector , typename T >
void igl::sparse (const IndexVector &I, const IndexVector &J, const ValueVector &V, Eigen::SparseMatrix< T > &X)
 This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
 
template<typename DerivedD , typename T >
void igl::sparse (const Eigen::PlainObjectBase< DerivedD > &D, Eigen::SparseMatrix< T > &X)
 Convert a full, dense matrix to a sparse one.
 
template<typename DerivedD >
Eigen::SparseMatrix< typename DerivedD::Scalar > igl::sparse (const Eigen::PlainObjectBase< DerivedD > &D)
 This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
 

Macro Definition Documentation

◆ EIGEN_YES_I_KNOW_SPARSE_MODULE_IS_NOT_STABLE_YET

#define EIGEN_YES_I_KNOW_SPARSE_MODULE_IS_NOT_STABLE_YET