Re: [ojAlgo-user] MatrixStore to BasicMatrix (or Cholesky factorization -> BasicMatrix)
Mathematics, linear algebra and optimisation
Brought to you by:
apete
From: Anders P. <an...@op...> - 2012-07-02 18:56:26
|
The intention is that as a BasicMatrix user you should not want/need explicit access to the various matrix decompositions. Instead BasicMatrix should offer direct support for common tasks - like just calling invert() or solve(BasicMatrix) and not worry about the underlying code. What is it you want to do? Basically you have 3 alternatives: 1) Live with that extra copying. You do not have to build it "by hand" just call PrimitiveMatrix.Factory.copy(MatrixStore). 2) Switch to working with MatrixStore/PhysicalStore rather than BasicMatrix. 3) Convince me to add what you need to BasicMatrix /Anders On 2 jul 2012, at 18:09, Chris Lucas wrote: > I'm writing some code that requires a computing a cholesky > factorization -- which appears to return L as a MatrixStore -- and > everything I've written so far uses BasicMatrix data types. I'm at a > loss for how to get a BasicMatrix from a MatrixStore without building > it by hand, element-by-element. What's the recommended approach, in > this case? > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > ojAlgo-user mailing list > ojA...@li... > https://lists.sourceforge.net/lists/listinfo/ojalgo-user > > |