While previously attempting to ascertain the dimensions of a matrix, I have used the
core.matrix function shape. This function has done exactly what I have asked. I input one nested vector into the function and output the dimension. However, I am looking to input multiple matrices/nested vectors into the function and am running into trouble. Is the shape function capable of handling multiple inputs, or is there another way to determine the dimensions of multiple nested vectors?
An example input would look like: [[1 1] [1 1]] [[2 2 2] [2 2 2]]
the expected output would be: [2 2] for first matrix and [3 3] for second matrix, as both inputs are square matrices.