File: Randomfunctions..html

package info (click to toggle)
torch 2-1
  • links: PTS
  • area: main
  • in suites: woody
  • size: 5,488 kB
  • ctags: 3,217
  • sloc: cpp: 14,272; makefile: 201
file content (73 lines) | stat: -rw-r--r-- 2,892 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">

<HTML>
<HEAD>
   <TITLE> Random functions.</TITLE>
   <META NAME="GENERATOR" CONTENT="DOC++ 3.4.8">
</HEAD>
<BODY BGCOLOR="#ffffff">

<H2> <A HREF="#DOC.DOCU">Random functions.</A></H2></H2>
<HR>
<P><DL>
 <DT>
real <B><A HREF="gammln.html">gammln</A></B>(real xx)
<DD><I>Returns the natural logarithm of the gamma function</I>
<DT>
void <B><A HREF="getShuffledIndices.html">getShuffledIndices</A></B>(int* <!1><A HREF="KNN.html#DOC.113.3">indices</A>, int n_indices)
<DD><I>Returns in <TT>indices</TT> <TT>n_indices</TT> shuffled.</I>
<DT>
void <B><A HREF="shuffle.html">shuffle</A></B>(void* tabular, int size_elem, int n_elems)
<DD><I>Shuffles tabular, which contains <TT>n_elems</TT> of size <TT>size_elem</TT></I>
<DT>
void <B><A HREF="seed.html">seed</A></B>()
<DD><I>Initializes the random number generator with the cpu time</I>
<DT>
void <B><A HREF="manual_seed.html">manual_seed</A></B>(long x)
<DD><I>Initialzes the random number generator with the given long "x"</I>
<DT>
long <B><A HREF="get_seed.html">get_seed</A></B>()
<DD><I>Returns the current seed used by the random number generator</I>
<DT>
real <B><A HREF="uniform.html">uniform</A></B>()
<DD><I>Returns a random number uniformly distributed between 0 and 1</I>
<DT>
real <B><A HREF="bounded_uniform.html">bounded_uniform</A></B>(real a, real <!1><A HREF="SVM.html#DOC.42.4">b</A>)
<DD><I>Returns a random number uniformly distributed between a and b</I>
<DT>
real <B><A HREF="expdev.html">expdev</A></B>()
<DD><I>Returns an exponential distributed random number</I>
<DT>
real <B><A HREF="gaussian_01.html">gaussian_01</A></B>()
<DD><I>Returns a random number gaussian with mean 0 and standard deviation 1</I>
<DT>
real <B><A HREF="gaussian_mu_sigma.html">gaussian_mu_sigma</A></B>(real mu, real sigma)
<DD><I>Returns a random number gaussian with mean "mu" and standard dev "sigma"</I>
<DT>
real <B><A HREF="gamdev.html">gamdev</A></B>(int ia)
<DD><I>Returns a gamma distributed random number</I>
<DT>
real <B><A HREF="poidev.html">poidev</A></B>(real xm)
<DD><I>Returns a poisson random number with lambda = "xm"</I>
<DT>
real <B><A HREF="bnldev.html">bnldev</A></B>(real pp, int <!1><A HREF="Vec.html#DOC.81.2">n</A>)
<DD><I>Returns a binomial random number with probability = 'pp' and trials number = 'n'</I>
</DL></P>


<A NAME="DOC.DOCU"></A>
<HR>
<H2>Documentation</H2>
<BLOCKQUOTE>Random functions.

<P></BLOCKQUOTE>
<DL>
</DL>
<DL><DT><DT><B>Author:</B><DD>Samy Bengio (bengio@idiap.ch)
Yoshua Bengio (bengioy@iro.umontreal.ca)
Ronan Collobert (collober@iro.umontreal.ca)
<DD></DL><P><P><I><A HREF="index.html">Alphabetic index</A></I> <I><A HREF="HIER.html">HTML hierarchy of classes</A> or <A HREF="HIERjava.html">Java</A></I></P><HR>
<BR>
This page was generated with the help of <A HREF="http://docpp.sourceforge.net">DOC++</A>.
</BODY>
</HTML>