Supporting The Revolution In Your World.
Sep 07, 2010
 
sqrsqc Every once in a while, there has been a need for using random numbers in an SQR, unfortunately, SQR does not have such a procedure. To compound the problem, most good PRNG need to use bit level operations, also which SQR does not support very well. I had already built a binary math library (accsl004) so I added a few more procedures to this and created a new library (accsl011) (see the source code library for the files). This library implements the TT800 PRNG originally written by M. Matsumoto,
If you want more information about random number generators you can visit pLab.

Warning: Theory around this gets deep into a lot of math real quick.

Posted by Admin on Friday, September 03, 2004 (1342 Reads)
    Printer-friendly page
SQR Linear Pseudorandom Number Generator | Log-in or register a new user account | 1 Comment
Comments are statements made by the person that posted them.
They do not necessarily represent the opinions of the site editor.

Re: SQR Linear Pseudorandom Number Generator

(Score: 0)
by Anonymous on Jul 08, 2005 - 08:10 PM
I am a newbie to SQR (peoplesoft). I have a need to assign a number (range 1-4) to a row that I will extract from a PS table.
For example: I will extract a student enrollment for a particular course and assign a custom column setting it to any of the numbers in the range. Student 1 will be assigned 2 for course 5, student 2 will be assigned 3 for course 5. I have created a customer table in PS to hold the range for each course. SQR doesn't have a random function is there a way to mimic random generation from a list of known values?


100% Canadian

Online

There are 1 unlogged user and 0 registered users online.

You can log-in or register for a user account here.

Languages

Preferred language:


 

Current Poll

Favourite Programming Language

  • BASIC
  • C
  • C++
  • Perl
  • SQR
  • PeopleCode
  • Assembler
  • COBOL
  • Java
  • .Net
  • PHP
  • Fortran

[ Results | Polls ]

Votes: 35
Comments: 23

Weather

Edmonton, Alberta

Click for Edmonton City Centre, Alberta Forecast

Login





 


 Log in Problems?
 New User? Sign Up!

Past Articles