Coding The beauty of containers in C++11 Containers for storing data are one of many great features of the C++ Standard Library [https://en.wikipedia.org/wiki/C%2B%2B_Standard_Library]. Despite their advantages, to initialize them, and to loop over them was not always easy. Fortunately, the C++11 [https://en.wikipedia.org/wiki/C%
Coding How (not) to copy a NumPy array The Python code below has puzzled me for a while. It shows the initialization of NumPy array a and three examples of copy assignment stored in b, c, and d. import numpy as np a = np.arange(3,5) #a = [3, 4] b = a c = a[:] d = a.copy() print(