matrix
Creates a matrix using a DSL-style builder. Allows defining multiple rows using the MatrixBuilder API.
Return
A constructed Matrix
Parameters
block
A builder lambda to define the matrix structure
Type Parameters
T
The type of elements in the matrix