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

Go to the source code of this file.

Namespaces

namespace  igl
 

Functions

template<typename Scalar >
void igl::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.
 
template<typename DerivedY >
void igl::blkdiag (const std::vector< DerivedY > &L, Eigen::PlainObjectBase< DerivedY > &Y)
 This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.