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

New Post: How to create a random matrix in F#?

$
0
0
Would it be possible to add an example of how to create a random matrix in F# say for the uniform distribution?

http://numerics.mathdotnet.com/docs/Matrix.html

The doc explains how to do it via Array2d conversion or linear sequences, but I guess it's directly possible as well. Something like

let m : Matrix<float> = DenseMatrix.random 3 4 (ContinuousUniform 0 1)

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>