![]() |
Eigen
5.0.1
|
#include <Eigen/src/Core/ConcatOp.h>
Expression of the concatenation of two dense expressions.
| Direction | either Vertical or Horizontal |
| LhsType | the type of the left-hand side expression |
| RhsType | the type of the right-hand side expression |
This class represents an expression of the concatenation of two dense expressions, either vertically (stacking rows) or horizontally (stacking columns).
It is the return type of hcat() and vcat() and typically this is the only way it is used.
Related Symbols | |
(Note that these are not member symbols.) | |
| template<typename Lhs, typename Rhs> | |
| const Concat< Horizontal, Lhs, Rhs > | hcat (const DenseBase< Lhs > &lhs, const DenseBase< Rhs > &rhs) |
| template<typename Lhs, typename Rhs> | |
| const Concat< Vertical, Lhs, Rhs > | vcat (const DenseBase< Lhs > &lhs, const DenseBase< Rhs > &rhs) |
|
Both arguments must have the same number of rows. To concatenate more than two expressions, chain calls: hcat(hcat(a, b), c).
Example:
|
Both arguments must have the same number of columns. To concatenate more than two expressions, chain calls: vcat(vcat(a, b), c).
Example: