Usage: swift run
Output:
Eigenvalues: [1.0, 3.0, 3.0]
Eigenvectors (stored columnwise): [__C.__CLPK_doublecomplex(r: -0.70710678118654746, i: -0.0), __C.__CLPK_doublecomplex(r: 0.0, i: -0.70710678118654746), __C.__CLPK_doublecomplex(r: -0.0, i: -0.0), __C.__CLPK_doublecomplex(r: -0.70710678118654746, i: 0.0), __C.__CLPK_doublecomplex(r: 0.0, i: 0.70710678118654746), __C.__CLPK_doublecomplex(r: 0.0, i: 0.0), __C.__CLPK_doublecomplex(r: 0.0, i: 0.0), __C.__CLPK_doublecomplex(r: 0.0, i: 0.0), __C.__CLPK_doublecomplex(r: 1.0, i: 0.0)]