I attempted it using matFromArray but it does not produce a 2 column Mat with the same data.
let matTest = cv.matFromArray(3, 2, cv.CV_32FC2, [ [