You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/src/sets.md
+8-8Lines changed: 8 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@ Comparisons
5
5
6
6
Comparisons `(<, >, <=, >=, ==)` between p-boxes, intervals and scalars can be performed. However unlike for comparisons between real numbers which yield Boolean values (`true` or `false`), comparisons with p-boxes generally yield interval probabilities, giving the uncertainty that the random variable characterised by a p-box meets the condition.
7
7
8
-
__*NOTE: unlike `IntervalArithmetic.jl`, comparisons in `ProbabilityBoundsAnalysis.jl` will generally give non-Boolean values (interval probabilities). This may cause crashes when evaluating control-flow (if-else) with uncertainty*__
8
+
__*NOTE: unlike `IntervalArithmetic.jl`, comparisons in `ProbabilityBoundsAnalysis.jl` will generally give non-Boolean values (interval probabilities). This may cause crashes when evaluating control-flow (if-else) with uncertainty.*__
9
9
10
10
### Comparisons of p-boxes and scalars
11
11
@@ -24,22 +24,22 @@ julia> X = uniform(0, 1)
24
24
julia> X <=0.7
25
25
[0.695, 0.705001]
26
26
27
-
julia> X >0.4
27
+
julia> X >=0.4
28
28
[0.594999, 0.605]
29
29
30
30
julia> X =normal(interval(-0.5, 0.5), interval(1, 1.5))
31
31
julia> X >=1
32
32
[0.0649999, 0.37]
33
33
```
34
34
35
-
Boolean values are returned if condition is gauranteed
35
+
Boolean values are returned if the condition is guaranteed
0 commit comments