Re: [ojAlgo-user] ojAlgo Version 22
Mathematics, linear algebra and optimisation
Brought to you by:
apete
From: Anders P. <an...@op...> - 2008-04-16 19:31:10
|
Please direct questions like these to the ojalgo-user mailing list. On 16 apr 2008, at 16.57, Andreas Reim wrote: > > Dear ojAlgo Team, > > I found your website while searching a java Package for > optimization and linear algebra. The package sound really > interesting. I was already able to get some basic calculations done > using the JamaMatrix Class. > I don't recommend using specific implementations that way, and don't call the constructors directly. > My recent problem is how to get a CholeskyDecomposition of > JamaMatrix as a JamaMatrix. Since the .getU() from JamaCholesky > “only” returns a MatrixStore Object, I am wondering how to get a > JamaMatrix from this MatrixStore Object to be able to perform > further calculations. > Short answer is you cannot... (Maybe you should be able to. I'll think about that.) There are two different levels at which you can use the linear algebra parts of ojAlgp - BasicMatrix and MatrixStore. BasicMatrix is for higher level calculations, and MatrixStore is for lower level (better control). The various MatrixDecomposition implementations are at the MatrixStore level. It seems to me that you should try to use what you find in the org.ojalgo.matrix.store and org.ojalgo.matrix.decomposition packages instead of org.ojalgo.matrix.jama. > In the online JavaDoc I can find a constructor JamaMatrix > (MatrixStore aStore) which is not present in any of the online > Packages Version 22 and 21. Perhaps you can give me a reason why > the JavaDoc is not representing the package content and where I can > find the latest Package. > I update the online javadoc now and then. When I do it is updated to match the current cvs head. The constructor you mention has been added after v22 was released (and all the other public constructors have been deprecated). http://ojalgo.org/change_log.html Version 22 is the latest release. If you want to be even more up to date you need to get the code from cvs. /Anders |