Platform
Resources
Pricing
Sign in
Get started
Parcly Taxel
Mathematics. Computer science. My Little Pony. Furries. Everything in between. Made in Singapore. Real name Jeremy Tan Jie Rui.
Workspace
Fork
Public
Random numbers
By
Parcly Taxel
Edited
Jul 24, 2020
MIT
1 star
Insert cell
Insert cell
pachinko
(
randomWeibull
(
-
k0
)
,
[
0
,
5
]
)
Insert cell
pachinko
(
randomWeibull
(
0
)
)
Insert cell
pachinko
(
randomWeibull
(
k0
)
,
[
0
,
5
]
)
Insert cell
Insert cell
function
randomWeibull
(
k
)
{
var
outerFunc
;
if
(
(
k
=
+
k
)
===
0
)
{
outerFunc
=
x
=>
-
Math
.
log
(
x
)
;
}
else
{
k
=
1
/
k
;
outerFunc
=
x
=>
Math
.
pow
(
x
,
k
)
;
}
return
function
(
)
{
return
outerFunc
(
-
Math
.
log1p
(
-
Math
.
random
(
)
)
)
;
}
;
}
Insert cell
Insert cell
Insert cell
Purpose-built for displays of data
Observable is your go-to platform for exploring data and creating expressive data visualizations. Use reactive JavaScript notebooks for prototyping and a collaborative canvas for visual data exploration and dashboard creation.
Try it for free
Learn more
Fork
View
Export
Edit
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
k0
Edit
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
randomWeibull
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Edit
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Edit
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML