src/IOUtils.cpp
MatrixBO cat_matrix(const MatrixBO &a, const MatrixBO &b)
{
    MatrixBO output;
    output.resize(a.rows() + b.rows(), a.cols());
    output.block(0, 0, a.rows(), a.cols()) = a;
    output.block(a.rows(), 0, b.rows(), b.cols()) = b;
    return output;
}
/**
 * @brief Concatenate two Eigen Matrices
 * 
 * @param a Matrix a
 * @param b Matrix b
 * @return MatrixBO Concatenated matrices
 */
@brief Concatenate two Eigen Matrices

@param a Matrix a
@param b Matrix b
@return MatrixBO Concatenated matrices
@brief Concatenate two Eigen Matrices @param a Matrix a @param b Matrix b @return MatrixBO Concatenated matrices
MatrixBO cat_matrix(const MatrixBO &a, const MatrixBO &b)
{
    MatrixBO output;
    output.resize(a.rows() + b.rows(), a.cols());
    output.block(0, 0, a.rows(), a.cols()) = a;
    output.block(a.rows(), 0, b.rows(), b.cols()) = b;
    return output;
}
MatrixBO cat_matrix ( const MatrixBO & a , const MatrixBO & b ) { MatrixBO output ; output . resize ( a . rows ( ) + b . rows ( ) , a . cols ( ) ) ; output . block ( 0 , 0 , a . rows ( ) , a . cols ( ) ) = a ; output . block ( a . rows ( ) , 0 , b . rows ( ) , b . cols ( ) ) = b ; return output ; }
@brief Concatenate two Eigen Matrices
@brief Concatenate two Eigen Matrices