cours/crochet d'Iverson.md
oscar.plaisant@icloud.com a2ee0fa5ca from github to this gitea
2023-10-23 23:09:51 +02:00

739 B

#maths


Notation qui renvoie 1 si une condition est vérifiée, et 0 sinon. Précisément :


[P] = \left\{
\begin{array}{rl}
1 \text{ si P est vrai,}\\
0 \text{ sinon}
\end{array}
\right.

Exemples

La notation est utile pour les sommes ou intégrales sans conditions de bornes. Par exemple : \displaystyle\sum_{1\leq i\leq 10}i^2 = \sum_i i^2[1\leq i\leq 10]

Cas particuliers