[Aimmath-commit] AIM/WEB-INF/maple Random.mpl,1.8,1.9
Brought to you by:
gustav_delius,
npstrick
|
From: <mo...@us...> - 2003-09-20 19:26:07
|
Update of /cvsroot/aimmath/AIM/WEB-INF/maple In directory sc8-pr-cvs1:/tmp/cvs-serv861 Modified Files: Random.mpl Log Message: fixed a typo Index: Random.mpl =================================================================== RCS file: /cvsroot/aimmath/AIM/WEB-INF/maple/Random.mpl,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** Random.mpl 12 Sep 2003 03:16:46 -0000 1.8 --- Random.mpl 20 Sep 2003 19:26:03 -0000 1.9 *************** *** 83,87 **** <LI>if the argument is of the form @Frac(n,d)@ then an improper fraction whose integer part is @Rand(n)@ and whose denominator is @Rand(d)@ is returned, i.e. if @N:=Rand(n)@, @M:=Rand(d)@, and @a:=Rand(1..M-1)@ then @(N*M+a)/M@ is returned. <LI>if the argument is @Null@, then @NULL@ is returned (i.e. @Rand(Null)@ returns @NULL@). ! <LI<Any other argument is simply returned. </OL> ", --- 83,87 ---- <LI>if the argument is of the form @Frac(n,d)@ then an improper fraction whose integer part is @Rand(n)@ and whose denominator is @Rand(d)@ is returned, i.e. if @N:=Rand(n)@, @M:=Rand(d)@, and @a:=Rand(1..M-1)@ then @(N*M+a)/M@ is returned. <LI>if the argument is @Null@, then @NULL@ is returned (i.e. @Rand(Null)@ returns @NULL@). ! <LI>Any other argument is simply returned. </OL> ", |