Skip to content
This repository has been archived by the owner on Dec 14, 2020. It is now read-only.
/ EigenSwiftDemo Public archive

(DEPRECATED) HOWTO: use LAPACK on a Swift app to compute the eigenvalues & eigenvectors on macOS/iOS/Linux

License

Notifications You must be signed in to change notification settings

indisoluble/EigenSwiftDemo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

EigenSwiftDemo

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)]

About

(DEPRECATED) HOWTO: use LAPACK on a Swift app to compute the eigenvalues & eigenvectors on macOS/iOS/Linux

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages