Iverson bracket
Mathematical notation: [P] has the value 1 if P is true, and 0 if P is false
In mathematics, the Iverson bracket, named after Kenneth E. Iverson, is a notation that generalises the Kronecker delta, which is the Iverson bracket of the statement x = y. It maps any statement to a function of the free variables in that statement.
Nº Q2114682 ★
Common · Knowledge
Iverson bracket
Mathematical notation: [P] has the value 1 if P is true, and 0 if P is false
In mathematics, the Iverson bracket, named after Kenneth E. Iverson, is a notation that generalises the Kronecker delta, which is the Iverson bracket of the statement x = y. It maps any statement to a function of the free variables in that statement.
From Wikipedia
In mathematics, the Iverson bracket, named after Kenneth E. Iverson, is a notation that generalises the Kronecker delta, which is the Iverson bracket of the statement x = y. It maps any statement to a function of the free variables in that statement. This function is defined to take the value 1 for the values of the variables for which the statement is true, and takes the value 0 otherwise. It is generally denoted by putting the statement inside square brackets: [ P ] = { 1 if P is true; 0 otherwise. {\displaystyle [P]={\begin{cases}1&{\text{if }}P{\text{ is true;}}\\0&{\text{otherwise.}}\end{cases}}} In other words, the Iverson bracket of a statement is the indicator function of the set of values for which the statement is true. The Iverson bracket allows using capital-sigma notation without restriction on the summation index. That is, for any property P ( k ) {\displaystyle P(k)} of the integer k {\displaystyle k} , one can rewrite the restricted sum ∑ k : P ( k ) f ( k ) {\displaystyle \sum _{k:P(k)}f(k)} in the unrestricted form ∑ k f ( k ) ⋅ [ P ( k ) ] {\displaystyle \sum _{k}f(k)\cdot [P(k)]} . With this convention, f ( k ) {\displaystyle f(k)} does not need to be defined for the values of k for which the Iverson bracket equals 0; that is, a summand f ( k ) [ false ] {\displaystyle f(k)[{\textbf {false}}]} must evaluate to 0 regardless of whether f ( k ) {\displaystyle f(k)} is defined. The notation was originally introduced by Kenneth E. Iverson in his programming language APL, though restricted to single relational operators enclosed in parentheses, while the generalisation to arbitrary statements, notational restriction to square brackets, and applications to summation, was advocated by Donald Knuth to avoid ambiguity in parenthesized logical...
Text: Wikipédia, CC BY-SA 4.0. ·
Related cards
-
K
Kronecker delta
Function
Nº Q192826 ★★
Not listed
-
Leibniz's notation
Mathematical notation
Nº Q1069516 ★★
Not listed
-
M
Maclaurin's inequality
Inequality
Nº Q647547 ★★
Not listed
-
J
Jacobian conjecture
Conjecture asserting that, over a characteristic-zero field K, given a polynomial map f: Kⁿ → Kⁿ, if its Jacobian determinant J: Kⁿ → K is a nonzero constant map, then f admits a polynomial inverse g: Kⁿ → Kⁿ
Nº Q2605695 ★★★★
Not listed
-
R
Rvachev function
Real-valued mathematical function
Nº Q4047790 ★
Not listed
-
Poisson bracket
Bilinear differential operation on scalar fields on a symplectic (or, more generally, Poisson) manifold
Nº Q1052775 ★★
Not listed