Python Forum
Matrix with bounded random numbers
Thread Rating:
  • 3 Vote(s) - 2.67 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Matrix with bounded random numbers
#2
lb + (ub - lb) * np.random.random((4, 1))
if you want for each row inequalities (lb <= row) & (row < ub)
Reply


Messages In This Thread
Matrix with bounded random numbers - by Felipe - May-19-2017, 11:36 AM
RE: Matrix with bounded random numbers - by zivoni - May-19-2017, 04:57 PM
RE: Matrix with bounded random numbers - by Felipe - May-21-2017, 11:31 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  fill an empty matrix with random floats sofiapuvogel 2 3,317 Oct-29-2018, 12:33 PM
Last Post: ichabod801

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020