Data Sets
DataSets are a hierarchical mix of objects and arrays, which can be referred Expressions by the data operator.
They are defined as map of objects.
For instance this declares three DataSets, "onetwo" an array, "matrix" a 3x3 matrix and a "complex" structure:
"DataSets": {
"onetwo": [1, 2],
"matrix": [
[1, 2, 3],
[4, 5, 6],
[7, 8, 9]
],
"dictionary": {
"one": "un",
"two": "deux"
},
"complex": {
"3": [1, 1, 1],
"5": {
"pi": 3.14,
"pi/2": 1.57
"fib": [0, 1, 1, 2, 3, 5, 8, 13, 21, 34]
}
}
}
"onetwo": [1, 2],
"matrix": [
[1, 2, 3],
[4, 5, 6],
[7, 8, 9]
],
"dictionary": {
"one": "un",
"two": "deux"
},
"complex": {
"3": [1, 1, 1],
"5": {
"pi": 3.14,
"pi/2": 1.57
"fib": [0, 1, 1, 2, 3, 5, 8, 13, 21, 34]
}
}
}