View Full Version : Seeking SVD code
Tristan Miller
11-02-2003, 11:15 AM
Greetings.
Can someone point me towards some portable source code which will
efficiently perform singular value decompositions of large matrices? I am
looking for something freely available, preferably in the public domain or
under a Free or Open Source licence such as the GPL. Ideally the program
will be in C, though any languages compilable under Unix/Linux and MS
Windows without proprietary tools such as Matlab are OK.
Regards,
Tristan
--
_
_V.-o Tristan Miller [en,(fr,de,ia)] >< Space is limited
/ |`-' -=-=-=-=-=-=-=-=-=-=-=-=-=-=-= <> In a haiku, so it's hard
(7_\\ http://www.nothingisreal.com/ >< To finish what you
Tim Heaney
11-02-2003, 02:04 PM
Tristan Miller <psychonaut@nothingisreal.com> writes: Can someone point me towards some portable source code which will efficiently perform singular value decompositions of large matrices? I am looking for something freely available, preferably in the public domain or under a Free or Open Source licence such as the GPL. Ideally the program will be in C, though any languages compilable under Unix/Linux and MS Windows without proprietary tools such as Matlab are OK.
How about LAPACK?
http://www.netlib.org/lapack/
I hope this helps,
Tim
Roland Van Praag
11-04-2003, 12:04 AM
You can try JAMA with TNT
It is C++ and Free
http://math.nist.gov/tnt/download.html
Regards,
Roland
"Tristan Miller" <psychonaut@nothingisreal.com> wrote in message
news:1323239.iQDmn99nfD@ID-187157.news.dfncis.de... Greetings. Can someone point me towards some portable source code which will efficiently perform singular value decompositions of large matrices? I am looking for something freely available, preferably in the public domain or under a Free or Open Source licence such as the GPL. Ideally the program will be in C, though any languages compilable under Unix/Linux and MS Windows without proprietary tools such as Matlab are OK. Regards, Tristan -- _ _V.-o Tristan Miller [en,(fr,de,ia)] >< Space is limited / |`-' -=-=-=-=-=-=-=-=-=-=-=-=-=-=-= <> In a haiku, so it's hard (7_\\ http://www.nothingisreal.com/ >< To finish what you
Roger Schlafly
11-04-2003, 12:28 PM
"Roland Van Praag" <roland@numeca.be> wrote You can try JAMA with TNT It is C++ and Free http://math.nist.gov/tnt/download.html
Does it work on any common compilers? It uses a lot of tricky
C++ templates, and compiler support for those features tends
to be spotty.
Roland Van Praag
11-05-2003, 03:09 AM
I needed to do the followings before getting it running
on several compilers
here as example: tnt_array1D
1) remove namespace that is not supported by all compilers
replaced by adding TNT_ to the class name
2) remove explicit that is not supported by all compiler
replace TNT_Array1D by TNT_Array1D<T> within the copy function
3) In the class declaration:
replace all instances of TNT_Array1D by TNT_Array1D<T>
exept for constructors and destructors
Regards,
Roland
"Roger Schlafly" <rogersc@mindspring.com> wrote in message
news:n_Tpb.4871$tL7.1446386826@twister1.starband.net... "Roland Van Praag" <roland@numeca.be> wrote You can try JAMA with TNT It is C++ and Free http://math.nist.gov/tnt/download.html Does it work on any common compilers? It uses a lot of tricky C++ templates, and compiler support for those features tends to be spotty.
Tristan Miller wrote: Can someone point me towards some portable source code which will efficiently perform singular value decompositions of large matrices? I am looking for something freely available, preferably in the public domain or under a Free or Open Source licence such as the GPL. Ideally the program will be in C, though any languages compilable under Unix/Linux and MS Windows without proprietary tools such as Matlab are OK.
The "arpack" library in http://netlib.org is a good place to start.
--
Dr.B.Voh
------------------------------------------------------
Applied Algorithms http://sdynamix.com
MyLounge.com Site Map
Forum:
Cars,
Cell Phone,
Database,
Games,
Home Improvement,
IT,
Music,
School,
Sports,
Web Design,
Web Server,
Weight Loss
The MyLounge.com forum is intended for informational use only and should not
be relied upon and is not a substitute for any advice. The information contained
on MyLounge.com are opinions and suggestions of members and is not a representation
of the opinions of MyLounge.com. MyLounge.com does not warrant or vouch for
the accuracy, completeness or usefulness of any postings or the qualifications
of any person responding. Please consult a expert or seek the services of an
attorney in your area for more accuracy on your specific situation. Please note
that our forums also serve as mirrors to Usenet newsgroups. Many posts you see
on our forums are made by newsgroup users who may not be members of MyLounge.com
Term of Service
vBulletin v3.0.7, Copyright ©2000-2008, Jelsoft Enterprises Ltd.