Changeset 34970 in project


Ignore:
Timestamp:
12/29/17 21:14:38 (9 months ago)
Author:
kon
Message:

rel 3.3.0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wiki/eggref/4/srfi-27

    r34861 r34970  
    606606be ignored.
    607607
     608The identifiers matching {{*make-random-<distribution>}} are reserved.
     609
    608610==== Usage
    609611
     
    612614</enscript>
    613615
     616All distributions are available from the omnibus module
     617{{srfi-27-distributions}}, and individually as the {{srfi-27-<distribution>}}
     618module.
     619
    614620==== make-random-normals
    615621
     
    622628{{RANDOMS}} is a {{(procedure () real)}}
    623629
     630<enscript language=scheme>
     631(use srfi-27-normals)
     632</enscript>
     633
    624634==== make-random-exponentials
    625635
     
    630640{{RANDOMS}} is a {{(procedure () real)}}
    631641
     642<enscript language=scheme>
     643(use srfi-27-exponentials)
     644</enscript>
     645
    632646==== make-random-triangles
    633647
     
    642656{{RANDOMS}} is a {{(procedure () real)}}
    643657
     658<enscript language=scheme>
     659(use srfi-27-triangles)
     660</enscript>
     661
    644662==== make-random-poissons
    645663
     
    650668{{RANDOMS}} is a {{(procedure () real)}}
    651669
     670<enscript language=scheme>
     671(use srfi-27-poissons)
     672</enscript>
     673
    652674==== make-random-bernoullis
    653675
     
    658680{{RANDOMS}} is a {{(procedure () real)}}
    659681
     682<enscript language=scheme>
     683(use srfi-27-bernoullis)
     684</enscript>
     685
    660686==== make-random-binomials
    661687
     
    668694{{RANDOMS}} is a {{(procedure () real)}}
    669695
     696<enscript language=scheme>
     697(use srfi-27-binomials)
     698</enscript>
     699
    670700==== make-random-geometrics
    671701
     
    676706{{RANDOMS}} is a {{(procedure () real)}}
    677707
     708<enscript language=scheme>
     709(use srfi-27-geometrics)
     710</enscript>
     711
    678712==== make-random-lognormals
    679713
     
    686720{{RANDOMS}} is a {{(procedure () real)}}
    687721
     722<enscript language=scheme>
     723(use srfi-27-lognormals)
     724</enscript>
     725
    688726==== make-random-cauchys
    689727
     
    696734{{RANDOMS}} is a {{(procedure () real)}}
    697735
     736<enscript language=scheme>
     737(use srfi-27-cauchys)
     738</enscript>
     739
    698740==== make-random-gammas
    699741
     
    706748{{RANDOMS}} is a {{(procedure () real)}}
    707749
     750<enscript language=scheme>
     751(use srfi-27-gammas)
     752</enscript>
     753
    708754==== make-random-erlangs
    709755
     
    716762{{RANDOMS}} is a {{(procedure () real)}}
    717763
     764<enscript language=scheme>
     765(use srfi-27-erlangs)
     766</enscript>
     767
    718768==== make-random-paretos
    719769
     
    726776{{RANDOMS}} is a {{(procedure () real)}}
    727777
     778<enscript language=scheme>
     779(use srfi-27-paretos)
     780</enscript>
     781
    728782==== make-random-levys
    729783
     
    736790{{RANDOMS}} is a {{(procedure () real)}}
    737791
     792<enscript language=scheme>
     793(use srfi-27-levys)
     794</enscript>
     795
    738796==== make-random-weibulls
    739797
     
    745803
    746804{{RANDOMS}} is a {{(procedure () real)}}
     805
     806<enscript language=scheme>
     807(use srfi-27-weibulls)
     808</enscript>
    747809
    748810
     
    790852
    791853<enscript language=scheme>
    792 (use srfi-1 srfi-13 coops srfi-27-distributions)
     854(use srfi-1 srfi-13)
     855(use coops)
     856(use srfi-27-normals srfi-27-exponentials)
    793857
    794858;; Named (has a name) "concept"
     
    877941;tmpval: #f
    878942;namsym: exponentials
    879 ;  ctor: #<procedure (srfi-27-distributions#make-random-exponentials . tmp302303)>
     943;  ctor: #<procedure (srfi-27-exponentials#make-random-exponentials . tmp302303)>
    880944;params: (0.5)
    881945;   src: #<procedure>
     
    899963== Bugs and Limitations
    900964
    901 * The random distribution API is poorly documented.
    902 
    903 * The implementation API is not documented. See the source distribution.
    904 
    905965* Support for 64-bit platforms is poor. Need to provide core random integer
    906966generators which are defined over the 64-bit integer range. Currently 64-bit
    907967fixnum bounds are processed as if using a 32-bit platform. However, due to the
    908968bignum implementation, results in the 64-bit fixnum range are coerced to fixnum.
     969
     970* The random distribution API is poorly documented.
     971
     972* The implementation API is not documented. See the source distribution.
    909973
    910974* Use of an entropy-source as a random-source is impossible without the
     
    930994== Version history
    931995
     996; 3.3.0 : Added 14 distribution modules.
    932997; 3.2.11 : Include {{composite-random-source}} & {{composite-entropy-source}}, since tested.
    933998; 3.2.10 : Uses test egg now.
Note: See TracChangeset for help on using the changeset viewer.