DOC: document `ldict` and `gdict` in bmat, closes #5058
Merge pull request #5092 from jaimefrio/bmat_ldict_gdict

DOC: document `ldict` and `gdict` in `bmat`, closes #5058