Jacobian blocks

ManoptExamples.BlockNonzeroMatrixType
BlockNonzeroMatrix(n_rows, n_cols, row_starts, col_starts, blocks)

Represent a mostly-zero matrix of size (n_rows, n_cols) by storing only a tuple of dense sub-blocks blocks, whose top-left entries are located at (row_starts[k], col_starts[k]).

All entries outside these sub-blocks are interpreted as zero.

source
ManoptExamples.BlockNonzeroVectorType
BlockNonzeroVector(n_entries, starts, blocks)

Represent a mostly-zero vector of length n_entries by storing only a tuple of dense sub-vectors blocks, whose first entries are located at starts[k].

All entries outside these sub-vectors are interpreted as zero.

source