Go to the documentation of this file.
37 result.variableColOffsets_.resize(
other.nBlocks() + 1);
38 for (
size_t i = 0;
i <
result.variableColOffsets_.size(); ++
i)
40 +
i] -
other.variableColOffsets_[
other.blockStart_];
50 result.variableColOffsets_.resize(
other.nBlocks() + 1);
51 for (
size_t i = 0;
i <
result.variableColOffsets_.size(); ++
i)
53 +
i] -
other.variableColOffsets_[
other.blockStart_];
77 const auto identity = Matrix::Identity(
rows(),
rows());
84 gttic(VerticalBlockMatrix_choleskyPartial);
93 gttic(VerticalBlockMatrix_split);
static VerticalBlockMatrix LikeActiveViewOf(const VerticalBlockMatrix &rhs)
void assertInvariants() const
constBlock full() const
Get the full matrix as a block.
DenseIndex blockStart_
Changes apparent matrix view, see main class comment.
Efficient incomplete Cholesky on rank-deficient matrices, todo: constrained Cholesky.
void invertInPlace()
Invert the entire active matrix in place.
Indicate Cholesky factorization failure.
void negate()
Negate the entire active matrix.
Matrix matrix_
The full matrix.
JacobiRotation< float > J
A matrix with column blocks of pre-defined sizes. Used in JacobianFactor and GaussianConditional.
Access to matrices via blocks of pre-defined sizes. Used in GaussianFactor and GaussianConditional.
static SymmetricBlockMatrix LikeActiveViewOf(const SymmetricBlockMatrix &other)
DenseIndex rows() const
Row size.
Eigen::SelfAdjointView< Block, Eigen::Upper > selfadjointView()
Get self adjoint view.
void setZero()
Set the entire active matrix zero.
VerticalBlockMatrix split(DenseIndex nFrontals)
bool choleskyPartial(Matrix &ABC, size_t nFrontal, size_t topleft)
ptrdiff_t DenseIndex
The index type for Eigen objects.
Eigen::SelfAdjointView< Block, Eigen::Upper > diagonalBlock(DenseIndex J)
Return the J'th diagonal block as a self adjoint view.
Matrix block(DenseIndex I, DenseIndex J) const
DenseIndex & blockStart()
DenseIndex offset(DenseIndex block) const
Get an offset for a block index (in the active view).
constBlock aboveDiagonalBlock(DenseIndex I, DenseIndex J) const
Get block above the diagonal (I, J).
void choleskyPartial(DenseIndex nFrontals)
SymmetricBlockMatrix()
Construct from an empty matrix (asserts that the matrix is empty)
FastVector< DenseIndex > variableColOffsets_
the starting columns of each block (0-based)
gtsam
Author(s):
autogenerated on Sat Nov 16 2024 04:05:22