The CVXOPT matrix object is compatible with the NumPy Array Interface, which allows Python objects that represent multidimensional arrays to exchange data using information stored in the attribute __array_struct__.
See also:
As already mentioned in section 2.1, a two-dimensional array object (for example, a NumPy matrix or two-dimensional array) can be converted to a CVXOPT matrix object by using the matrix() constructor. Conversely, CVXOPT matrices can be used as array-like objects in NumPy. The following example illustrates the compatibility of CVXOPT matrices and NumPy arrays.
In the first product, a*b is interpreted as NumPy array multiplication, i.e., componentwise multiplication. The second product a.T*c is interpreted as NumPy matrix multiplication, i.e., standard matrix multiplication.