66 gttic(VerticalBlockMatrix_choleskyPartial);
75 gttic(VerticalBlockMatrix_split);
DenseIndex offset(DenseIndex block) const
Get an offset for a block index (in the active view).
Access to matrices via blocks of pre-defined sizes. Used in GaussianFactor and GaussianConditional.
FastVector< DenseIndex > variableColOffsets_
the starting columns of each block (0-based)
A matrix with column blocks of pre-defined sizes. Used in JacobianFactor and GaussianConditional.
Matrix matrix_
The full matrix.
DenseIndex blockStart_
Changes apparent matrix view, see main class comment.
static SymmetricBlockMatrix LikeActiveViewOf(const SymmetricBlockMatrix &other)
ptrdiff_t DenseIndex
The index type for Eigen objects.
DenseIndex nBlocks() const
Block count.
constBlock aboveDiagonalBlock(DenseIndex I, DenseIndex J) const
Get block above the diagonal (I, J).
JacobiRotation< float > J
bool choleskyPartial(Matrix &ABC, size_t nFrontal, size_t topleft)
Matrix block(DenseIndex I, DenseIndex J) const
VerticalBlockMatrix split(DenseIndex nFrontals)
static VerticalBlockMatrix LikeActiveViewOf(const VerticalBlockMatrix &rhs)
void choleskyPartial(DenseIndex nFrontals)
void assertInvariants() const
void setZero()
Set the entire active matrix zero.
DenseIndex cols() const
Column size.
FastVector< DenseIndex > variableColOffsets_
the starting columns of each block (0-based)
DenseIndex blockStart_
Changes apparent matrix view, see main class comment.
DenseIndex & blockStart()
Indicate Cholesky factorization failure.
Eigen::SelfAdjointView< Block, Eigen::Upper > diagonalBlock(DenseIndex J)
Return the J'th diagonal block as a self adjoint view.
DenseIndex cols() const
Column size.
DenseIndex nBlocks() const
Block count.
Efficient incomplete Cholesky on rank-deficient matrices, todo: constrained Cholesky.