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

New Post: Cut cols and rows (or factor the matrix)

$
0
0
Ok, I found that answer for question 2 is very simple:
var svd = matrix.Svd(true);
       var matrix_UK = svd.U().SubMatrix(0, svd.W().RowCount, 0, K);
        var matrix_SKK = svd.W().SubMatrix(0, K, 0, K);
        var matrix_VTK = svd.VT().SubMatrix(0, K, 0, svd.VT().ColumnCount);
However, what about first one?
Can I get resulting matrices already in the format I need?

Thanks:)

Viewing all articles
Browse latest Browse all 971

Trending Articles



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