Jump to content

Does gRandom use nextGuassian?


Polymorphism

Recommended Posts

Does gRandom works as expected for you guys? I just tested it, got unexpected result and posted a bug report but I'm kinda starting to doubt as it'd be weird that nobody would have noticed I suppose:

Using MethodProvider.gRandom(600, 200) which should be based on normal distribution I got the following result:

58da5f0614fa7_scatter-plot-image(2).png.25c5f9af328eb52dc58076a2f9198873.png

Also, the api says that the method caps the values, however I suspect that it returns all the values above the cap number as the cap number, instead of regenerating a new random. This makes the last (and first) number should up way higher than the rest

  • Like 1
Link to comment
Share on other sites

1 minute ago, Reveance said:

Yeah this shows it much better. This isn't normal distribution but those capped values are really bad :o mind if I use your image in the bug report I already posted? 

yeah sure, do whatever u want with it. i'm sure there's a reason the values come out like that though. let's hear from @Alek :)

  • Like 1
Link to comment
Share on other sites

  • Alek locked this topic
Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...