#include "igl_inline.h"
#include <Eigen/Dense>
#include <Eigen/Sparse>
#include "repdiag.cpp"
Go to the source code of this file.
|
template<typename T > |
void | igl::repdiag (const Eigen::SparseMatrix< T > &A, const int d, Eigen::SparseMatrix< T > &B) |
| Repeat a matrix along the diagonal a certain number of times, so that if A is a m by n matrix and we want to repeat along the diagonal d times, we get a m*d by n*d matrix B such that: B( (k*m+1):(k*m+1+m-1), (k*n+1):(k*n+1+n-1)) = A for k from 0 to d-1.
|
|
template<typename T > |
void | igl::repdiag (const Eigen::Matrix< T, Eigen::Dynamic, Eigen::Dynamic > &A, const int d, Eigen::Matrix< T, Eigen::Dynamic, Eigen::Dynamic > &B) |
| This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
|
|
template<class Mat > |
Mat | igl::repdiag (const Mat &A, const int d) |
| This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
|
|
◆ EIGEN_YES_I_KNOW_SPARSE_MODULE_IS_NOT_STABLE_YET
#define EIGEN_YES_I_KNOW_SPARSE_MODULE_IS_NOT_STABLE_YET |