Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ for operator in operators
funcs = quote
"""
$($f)(a::CertainValue, b::AbstractUncertainValue; n::Int = 30000)

Compute `a $($operator) b`. Treats the certain value as a scalar and performs the
operation element-wise on a default of `n = 30000` realizations of `b`.

Expand All @@ -19,10 +19,10 @@ for operator in operators

"""
$($f)(a::AbstractUncertainValue, b::CertainValue; n::Int = 30000)

Compute `a $($operator) b`. Treats the certain value as a scalar and performs the
operation element-wise on a default of `n = 30000` realizations of `a`.

To tune the number of draws to `n`, use the `$($operator)(a, b, n::Int)` syntax.
"""
function $(f)(a::AbstractUncertainValue, b::CertainValue; n::Int = 30000)
Expand All @@ -31,7 +31,7 @@ for operator in operators

"""
$($f)(a::AbstractUncertainValue, b::CertainValue; n::Int)

Compute `a $($operator) b`. Treats the certain value as a scalar and performs the
operation element-wise on `n` realizations of `a`.

Expand All @@ -43,10 +43,10 @@ for operator in operators

"""
$($f)(a::CertainValue, b::AbstractUncertainValue, n::Int)

Compute `a $($operator) b`. Treats the certain value as a scalar and performs the
operation element-wise on `n` realizations of `b`.

This function is called with the `$($operator)(a, b, n::Int)` syntax.
"""
function $(f)(a::CertainValue, b::AbstractUncertainValue, n::Int)
Expand Down