\leftarrow

The left arrow symbol is used to indicate direction or assignment in mathematical expressions and algorithms. It is often used to show that a value is being assigned to a variable or to indicate the direction of a process or transformation.

Examples

Assign the result of y + z to x

x \leftarrow y + z

Indicate that A is being replaced or updated with B

A \leftarrow B

Increment i by 1 in a loop

\text{while } i \leftarrow i + 1 \text{ do}