I have a python dictionary whose keys are 1D arrays (or vectors) and the value of a key is a set or 1D arrays (or a 2D matrix).
I wonder if there is a way to implement or a library in C++ that can build a python-like dictionary data structure. And when I am looping over a set of vectors, I could update my dictionary like
dict = {}
for vk in VK:
{
if vk not in dict.keys():
dict.update({vk:matrixk})
}