VTK/Examples/Cxx/SimpleOperations/GaussianRandomNumber: Revision history

From KitwarePublic
Jump to navigationJump to search

There is no edit history for this page.

This page does not exist. The deletion, protection, and move log for the page are provided below for reference.

  • 03:17, 28 April 2021 Cquammen talk contribs deleted page VTK/Examples/Cxx/SimpleOperations/GaussianRandomNumber (content was: "This example generates 3 random numbers from a Gaussian distribution with mean 0.0 and standard deviation 2.0. ==GaussianRandomNumber.cxx== <source lang="cpp"> #include <vtkMath.h> #include <time.h> int main(int, char *[]) { //The number of random numbers we wish to produce unsigned int numRand = 3; //without this line, the random numbers will be the same every iteration vtkMath::RandomSeed(time(NULL)); //Generate numRand random numbers from a Gaussian dis...")