flat Matrix
Creates a single-row matrix using a DSL-style builder.
Return
A Matrix containing a single row
Parameters
block
A builder lambda to define the row elements
Type Parameters
T
The type of elements in the matrix
Creates a single-row matrix from the provided elements.
Return
A Matrix containing a single row with the specified elements
Parameters
elements
The elements to include in the single row
Type Parameters
T
The type of elements in the matrix