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

New Post: Numerics 3.0 matrix construction syntax

$
0
0
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

Viewing all articles
Browse latest Browse all 971

Trending Articles



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