Generate a block diagonal sparse matrix?

270 views
Skip to first unread message

Douglas Bates

unread,
Jun 4, 2014, 2:33:16 PM6/4/14
to julia...@googlegroups.com
Is there a function in Base to generate a sparse block-diagonal matrix from the diagonal blocks which themselves are stored as SparseMatrixCSC objects?  I thought I should ask before reinventing the wheel.

Tony Kelman

unread,
Jun 5, 2014, 1:15:06 AM6/5/14
to julia...@googlegroups.com
I added blkdiag() for sparse matrices a few months back (was the first thing I did when I started using Julia). Let me know if it doesn't do what you're looking for.
Reply all
Reply to author
Forward
0 new messages