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

Function Documentation

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

Return a Matrix of random numbers from a normal distribution with mean=0, sigma=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 normal distribution random numbers.