Quantcast
Channel: Math.NET Numerics
Viewing all articles
Browse latest Browse all 971

New Post: Numerics 3.0 matrix construction syntax

$
0
0
Thanks Christoph, I eventually figured this out...
Got tripped up by a number of very incompatible changes for which I found no documentation,
but all working OK now.
Thanks again,
Best Regards, Dave

On 1/28/2015 2:18 PM, cdrnet wrote:

From: cdrnet

You'll find some examples how matrices can be created in the docs: Creating Matrices and Vectors. Assuming your jagged array is organized by rows (i.e. the outer index is the row index):
Matrix<double> mB = Matrix<double>.Build.DenseOfRowArrays(ActualGaps);
// or
Matrix<double> mB = DenseMatrix.OfRowArrays(ActualGaps)
Thanks,
Christoph


-- 
Dave Nadler, USA East Coast voice (978) 263-0097, [email removed], Skype 
 Dave.Nadler1

Viewing all articles
Browse latest Browse all 971

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>