#include "full.h" template IGL_INLINE void igl::full( const Eigen::SparseMatrix & A, Eigen::Matrix & B) { B = Eigen::Matrix::Zero(A.rows(),A.cols()); // Iterate over outside for(int k=0; k::InnerIterator it (A,k); it; ++it) { B(it.row(),it.col()) = it.value(); } } } template IGL_INLINE void igl::full( const Eigen::PlainObjectBase& A, Eigen::PlainObjectBase& B) { B = A; } #ifndef IGL_HEADER_ONLY // Explicit template specialization // generated by autoexplicit.sh template void igl::full, Eigen::Matrix >(Eigen::PlainObjectBase > const&, Eigen::PlainObjectBase >&); // generated by autoexplicit.sh template void igl::full(Eigen::SparseMatrix const&, Eigen::Matrix&); #endif