Esempio n. 1
0
 /// Fill the matrix with random float numbers, falling within the
 /// "max"/"min" range.
 public void FillRandom(double max, double min)
 {
     for (int i = 0; i < rows * columns; ++i)
     {
         SetElementN(i, min + ChMaths.ChRandom() * (max - min));
     }
 }