libigl v2.5.0
Loading...
Searching...
No Matches
sparse_cached.h File Reference
#include "igl_inline.h"
#include <Eigen/Dense>
#include <Eigen/Sparse>
#include "sparse_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 DerivedI , typename Scalar >
void igl::sparse_cached_precompute (const Eigen::MatrixBase< DerivedI > &I, const Eigen::MatrixBase< DerivedI > &J, Eigen::VectorXi &data, Eigen::SparseMatrix< Scalar > &X)
 Build a sparse matrix from list of indices and values (I,J,V), similarly to the sparse function in matlab.
 
template<typename Scalar >
void igl::sparse_cached_precompute (const std::vector< Eigen::Triplet< Scalar > > &triplets, Eigen::VectorXi &data, Eigen::SparseMatrix< Scalar > &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 Scalar >
void igl::sparse_cached (const std::vector< Eigen::Triplet< Scalar > > &triplets, const Eigen::VectorXi &data, Eigen::SparseMatrix< Scalar > &X)
 Build a sparse matrix from cached list of data and values.
 
template<typename DerivedV , typename Scalar >
void igl::sparse_cached (const Eigen::MatrixBase< DerivedV > &V, const Eigen::VectorXi &data, Eigen::SparseMatrix< Scalar > &X)
 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