Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
dlib
Commits
ca6bd2ca
Commit
ca6bd2ca
authored
Dec 18, 2011
by
Davis King
Browse files
updated spec
parent
d6012c41
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
10 deletions
+8
-10
dlib/rand/rand_kernel_abstract.h
dlib/rand/rand_kernel_abstract.h
+8
-10
No files found.
dlib/rand/rand_kernel_abstract.h
View file @
ca6bd2ca
...
...
@@ -72,8 +72,6 @@ namespace dlib
/*!
ensures
- returns a pseudorandom number in the range 0 to 255
throws
- std::bad_alloc
!*/
uint16
get_random_16bit_number
(
...
...
@@ -81,8 +79,6 @@ namespace dlib
/*!
ensures
- returns a pseudorandom number in the range 0 to 2^16-1
throws
- std::bad_alloc
!*/
uint32
get_random_32bit_number
(
...
...
@@ -90,8 +86,6 @@ namespace dlib
/*!
ensures
- returns a pseudorandom number in the range 0 to 2^32-1
throws
- std::bad_alloc
!*/
float
get_random_float
(
...
...
@@ -99,8 +93,6 @@ namespace dlib
/*!
ensures
- returns a random float number N where: 0.0 <= N < 1.0.
throws
- std::bad_alloc
!*/
double
get_random_double
(
...
...
@@ -108,8 +100,14 @@ namespace dlib
/*!
ensures
- returns a random double number N where: 0.0 <= N < 1.0.
throws
- std::bad_alloc
!*/
double
get_random_gaussian
(
);
/*!
ensures
- returns a random number sampled from a Gaussian distribution
with mean 0 and standard deviation 1.
!*/
void
swap
(
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment