hello @Carl Love , your code so amazing
back to Flatten: I want to flatten as picture below
I try to flatten but got unwant results,please guide me
----------------------------------Code----------------------------------------
DOe := Matrix(3, 2, [[Vector[column](1, [Vector[row](2, [1, 2])]), Vector[column](1, [Vector[row](2, [3, 4])])], [Vector[column](1, [Vector[row](2, [3, 4])]), Vector[column](1, [Vector[row](2, [5, 6])])], [Vector[column](1, [Vector[row](2, [5, 6])]), Vector[column](1, [Vector[row](2, [1, 2])])]]);
with(ListTools);
with(LinearAlgebra);
with(linalg);
DOF := <K || (1 .. 3)>;