[ojAlgo-user] how to construct a MatrixStore?
Mathematics, linear algebra and optimisation
Brought to you by:
apete
From: Menglin L. <sup...@li...> - 2010-08-17 00:48:48
|
Hi there, sorry to bother. i'm new to Ojalgo. I want to use it to solve quadratic optimization problem. In QuadraticSolver.class, the method public Builder(final MatrixStore<Double> Q, final MatrixStore<Double> C) shows we need to construct the MatrixStore for Q and C. But in MaxtrixStore.class, it says "This interface does not define any methods that require implementations to alter the matrix. Either the methods return matrix elements, some meta data or produce new instances." I'm asking how can i construct the MatrixStore from a series of data? Could anyone send me a little piece of code about this? Thank you very much! Menglin |