Creating a matrix from other matrices

Sometimes, we want to create a matrix from other smaller matrices. We can do this with the bmat() function. The b here stands for block matrix.

Get NumPy : Beginner's Guide - Third Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.