Open
Description
Add get
routines for getting matrices (integer, real, etc.) from json files and objects. This could be used, for example, to easily get a variable like:
{
"matrix": [
[1,2,3,4],
[1,2,3,4],
[1,2,3,4]
]
}
Could also have optional inputs to indicate if the matrix is stored in column-major (Fortran-style) or row-major (C-style) order.
Would also have to check to make sure each row has the same number of columns and are all the same variable type.
Also add the corresponding set
routines.