Description Usage Arguments Details See Also Examples
chk_zero_if_zero
checks that x1
is 0
,
given that x2
is 0
.
1 2 3 4 5 6 7 8 9 10 11 | chk_zero_if_zero(x1, x2, name1, name2)
chk_zero_onlyif_zero(x1, x2, name1, name2)
chk_zero_ifonlyif_zero(x1, x2, name1, name2)
err_zero_if_zero(x1, x2, name1, name2)
err_zero_onlyif_zero(x1, x2, name1, name2)
err_zero_ifonlyif_zero(x1, x2, name1, name2)
|
x1 |
An argument that could be |
x2 |
An argument that could be |
name1 |
The name for |
name2 |
The name for |
chk_zero_onlyif_zero
checks that x1
is only
0
when x2
is 0
.
chk_zero_ifonlyif_zero
checks that x1
and
x2
are both 0
or are both non-0
.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | x1 <- 0
x2 <- 2
chk_zero_if_zero(x1 = x1, x2 = x2, name1 = "x1", name2 = "x2")
x1 <- 0
x2 <- 0
chk_zero_if_zero(x1 = x1, x2 = x2, name1 = "x1", name2 = "x2")
x1 <- 1
x2 <- 0
chk_zero_onlyif_zero(x1 = x1, x2 = x2, name1 = "x1", name2 = "x2")
x1 <- 0
x2 <- 0
chk_zero_onlyif_zero(x1 = x1, x2 = x2, name1 = "x1", name2 = "x2")
x1 <- 1
x2 <- 2
chk_zero_ifonlyif_zero(x1 = x1, x2 = x2, name1 = "x1", name2 = "x2")
x1 <- 0
x2 <- 0
chk_zero_ifonlyif_zero(x1 = x1, x2 = x2, name1 = "x1", name2 = "x2")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.