Function navtk::experimental::rand(int, int)

Function Documentation

Matrix navtk::experimental::rand(int num_rows, int num_cols)

Return a Matrix of random numbers from a uniform distribution between 0 and 1.

Parameters
  • num_rows – The number of rows in the desired array.

  • num_cols – The number of columns in the desired array.

Returns

Matrix of uniform distribution random numbers between 0 and 1.