Registered Member
|
Hi,
is it possible to construct a custom matrix in Eigen? The matrix has the following form:
I.e,, it consists of block matrices of variable size which overlap at one element. I have written an own class in which the matrix is set up as a vector of Eigen matrices (representing the block matrices), whereas the matrix product is performed block-wise (this is not highly efficient but it works). Is it possible to transform this class into a "real" Eigen matrix, e.g., by inheriting from matrix base or whatever? Thanks in advance, David |
Moderator
|
that depends on the amount of compatibility you're looking for. The minimal would probably to inherit SparseMatrixBase and implement an InnerIterator.
|
Registered users: Baidu [Spider], Bing [Bot], Google [Bot], Yahoo [Bot]