LUDecomposition, random arrays.

Hello!

I'm Spanish and I'm studying 1st Year of Physics, I've started to use Java this year (we work with NeatBeans) and I'm having many problems with numerical techniques.

I have to do a program that solves systems of N-equations by using the LUDecompositionImpl.

What I have to do is to assign random values to each matrix. The problem is I don't know how to introduce it. I know I have to use Math.Random but not how to use it.

If somebody could help i'd be really grateful.

Thanks for your time!