libigl v2.5.0
Loading...
Searching...
No Matches
cat.h File Reference
#include "igl_inline.h"
#include <Eigen/Sparse>
#include <Eigen/Dense>
#include <vector>
#include "cat.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 Scalar >
void igl::cat (const int dim, const Eigen::SparseMatrix< Scalar > &A, const Eigen::SparseMatrix< Scalar > &B, Eigen::SparseMatrix< Scalar > &C)
 Perform concatenation of a two sparse matrices along a single dimension If dim == 1, then C = [A;B]; If dim == 2 then C = [A B].
 
template<typename Derived , class MatC >
void igl::cat (const int dim, const Eigen::MatrixBase< Derived > &A, const Eigen::MatrixBase< Derived > &B, MatC &C)
 Perform concatenation of a two dense matrices along a single dimension If dim == 1, then C = [A;B]; If dim == 2 then C = [A B].
 
template<class Mat >
Mat igl::cat (const int dim, const Mat &A, const Mat &B)
 Perform concatenation of a two dense matrices along a single dimension If dim == 1, then C = [A;B]; If dim == 2 then C = [A B].
 
template<class Mat >
void igl::cat (const std::vector< std::vector< Mat > > &A, Mat &C)
 Concatenate a "matrix" of sub-blocks C = [A0;A1;A2;...;An] where Ai = [A[i][0] A[i][1] ... A[i][m]];.
 
template<typename T , typename DerivedC >
void igl::cat (const int dim, const std::vector< T > &A, Eigen::PlainObjectBase< DerivedC > &C)
 Concatenate a std::vector of matrices along the specified dimension.
 

Macro Definition Documentation

◆ EIGEN_YES_I_KNOW_SPARSE_MODULE_IS_NOT_STABLE_YET

#define EIGEN_YES_I_KNOW_SPARSE_MODULE_IS_NOT_STABLE_YET