-2
I’m beginner in java, I was wondering if there is any function that would facilitate my life so that:
having a vector of n positions filled with (pre-defined) numbers, distribute these numbers at the positions of a matrix randomly.
For example: having a vector of 10 positions with 10 numbers and a matrix 15x10, distribute these 10 numbers randomly at the positions of the matrix, in which case the position that is eventually not filled would have no problems.
Grateful.