local matrix = {
{-42, 321},
{-23, -10),
{3, -1}
}
local result1 = MatrixL:verticalConcatenate(matrix, matrix, matrix)
local result2 = MatrixL:verticalConcatenate(matrix, 100)
MatrixL:printMatrix(result1)
MatrixL:printMatrix(result2)
verticalConcatenate(...): matrix
… : any number of matrices or scalar.
result: the resultant matrix after concatenation has been applied.