12#include <Eigen/Sparse> 
   26  template <
typename Scalar>
 
   28    const std::vector<Eigen::SparseMatrix<Scalar>> & L, 
 
   29    Eigen::SparseMatrix<Scalar> & Y);
 
   31  template <
typename DerivedY>
 
   33    const std::vector<DerivedY> & L, 
 
   34    Eigen::PlainObjectBase<DerivedY> & Y);
 
   37#ifndef IGL_STATIC_LIBRARY 
   38#  include "blkdiag.cpp" 
#define IGL_INLINE
Definition igl_inline.h:15
 
void blkdiag(const std::vector< Eigen::SparseMatrix< Scalar > > &L, Eigen::SparseMatrix< Scalar > &Y)
Given a list of matrices place them along the diagonal as blocks of the output matrix.